aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vty/vty_test.ok
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-08-06 14:29:15 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-06 14:56:35 +0200
commitcd195fa267b1869156e6d675032fdafe3035bf5e (patch)
treecb3e84282faf43d336601a85c366111af729ab6e /tests/vty/vty_test.ok
parentae15a2cac1a01e98e34b4ccd8932ae8f1b99186c (diff)
vty: Support multi-char separators and end strings
In vty_cmd_string_from_valstr() include the real string lengths of the sep and end arguments into the buffer size calculation.
Diffstat (limited to 'tests/vty/vty_test.ok')
-rw-r--r--tests/vty/vty_test.ok2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vty/vty_test.ok b/tests/vty/vty_test.ok
index 9ff68c88..baec2499 100644
--- a/tests/vty/vty_test.ok
+++ b/tests/vty/vty_test.ok
@@ -1,3 +1,3 @@
Going to test vty_cmd_string_from_valstr()
-Tested with %s-strings, resulting cmd = '[prefix%s%s%s%s%s][foo%s%s%s%s%s][sep%s%s%s%s%s]['
+Tested with %s-strings, resulting cmd = '[prefix%s%s%s%s%s][foo%s%s%s%s%s][sep%s%s%s%s%s][bar%s%s%s%s%s][end%s%s%s%s%s]'
All tests passed