aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-22 22:12:31 -0500
committerDave Barach <openvpp@barachs.net>2019-11-25 14:50:31 +0000
commit41a817a318b19daf18ed616b7d7bc461d5ad5088 (patch)
treee06aab978aa27015f36714845d9c21c8e01300a2 /test
parent5f9f3c8de8d5d9f83a437661a98e5cc2453705f9 (diff)
tests: fix typo in test_vlib
Trailing comma made last line of a multi-line command a new command. Logs: 22:39:49,695 Return value: cli_inband_reply(_0=794, context=2, retval=0, reply='loop0\n') 22:39:49,695 CLI: packet-generator new { name vlib limit 15 size 128-128 interface loop0 node ethernet-input data { IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00 ICMP: db00::1 -> db00::2 incrementing 30 } 22:39:49,695 Calling cli_inband('cmd':'packet-generator new {\n name vlib\n limit 15\n size 128-128\n interface loop0\n node ethernet-input\n data {\n IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00\n ICMP: db00::1 -> db00::2\n incrementing 30\n }\n\n','context':3,'_vl_msg_id':792) 22:39:49,696 Return value: cli_inband_reply(_0=794, context=3, retval=0, reply='') 22:39:49,696 CLI: } 22:39:49,696 Calling cli_inband('cmd':'}\n\n','context':4,'_vl_msg_id':792) 22:39:49,697 Return value: cli_inband_reply(_0=794, context=4, retval=-1, reply="unknown inpu... 22:39:49,697 } FAIL reply unknown input `}' Type: fix Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> Change-Id: Iaa82d432677d742e766e42383364adda5bd87665
Diffstat (limited to 'test')
-rw-r--r--test/test_vlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_vlib.py b/test/test_vlib.py
index 85b561db471..aa58667aa70 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -40,7 +40,7 @@ class TestVlib(VppTestCase):
" IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00\n"
" ICMP: db00::1 -> db00::2\n"
" incrementing 30\n"
- " }\n",
+ " }\n"
"}\n",
"elog trace dispatch",
"event-logger stop",
@@ -81,7 +81,7 @@ class TestVlib(VppTestCase):
" IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00\n"
" ICMP: db00::1 -> db00::2\n"
" incrementing 30\n"
- " }\n",
+ " }\n"
"}\n",
"show vlib graph",
"show vlib graph ethernet-input",
@@ -124,7 +124,7 @@ class TestVlib(VppTestCase):
" IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00\n"
" ICMP: db00::1 -> db00::2\n"
" incrementing 30\n"
- " }\n",
+ " }\n"
"}\n",
"pa en",
"clear interfaces",