summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 17:30:56 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 17:30:56 +0200
commit22106bbf6870c19db1a06f3182b894c852686eae (patch)
tree9b2c8861988a80aa42d3095b804190e38d409903 /tests/lib/cli/test_cli.c
parent98f65ee0b1a147b2852bf22f6d2c08d8563c124e (diff)
parent888efdbb5ec4e895f44f0307348a02fd6c61b579 (diff)
Merge remote-tracking branch 'frr/master' into table-hash-ospf6-lsdb-refactor
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_cli.c')
-rw-r--r--tests/lib/cli/test_cli.c8
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;
}