diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-14 08:24:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-14 08:24:46 -0400 |
| commit | 1ea6b3f237295a7e7dae3a46a4d07b41a6453c04 (patch) | |
| tree | a8803b2d31a56e6d5296c1d1880205525a015c45 /tests/lib/cli/test_cli.c | |
| parent | da571b7a6c5326447399ff78439c87639fa51e19 (diff) | |
| parent | 28bd1c1158c10268655878d12e5d8f17737de1bb (diff) | |
Merge remote-tracking branch 'origin/master' into evpn_plus_struct_attr
Diffstat (limited to 'tests/lib/cli/test_cli.c')
| -rw-r--r-- | tests/lib/cli/test_cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/cli/test_cli.c b/tests/lib/cli/test_cli.c index 43366d49e2..a4d3fb4e8e 100644 --- a/tests/lib/cli/test_cli.c +++ b/tests/lib/cli/test_cli.c @@ -47,10 +47,10 @@ DEFPY(magic_test, magic_test_cmd, "1\n2\n3\n4\n5\n") { char buf[256]; - vty_outln(vty, "def: %s", self->string); - vty_outln(vty, "num: %ld", magic); - vty_outln(vty, "ipv4: %s", prefix2str(ipv4net, buf, sizeof(buf))); - vty_outln(vty, "ipv6: %s", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf))); + vty_out(vty, "def: %s\n", self->string); + vty_out(vty, "num: %ld\n", magic); + vty_out(vty, "ipv4: %s\n", prefix2str(ipv4net, buf, sizeof(buf))); + vty_out(vty, "ipv6: %s\n", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf))); return CMD_SUCCESS; } |
