From b5afcf9a8ff7df959a5ac1572ed7bbb5885dc282 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Mon, 7 Mar 2016 16:11:27 +1030 Subject: [PATCH] Fix vomp stun test after route print change --- tests/vomp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vomp b/tests/vomp index 07d3e7f7..9164c5a2 100755 --- a/tests/vomp +++ b/tests/vomp @@ -215,14 +215,14 @@ setup_stun() { has_unicast_link() { executeOk_servald route print tfw_cat --stdout - if ! grep "^${SIDB}:UNICAST:dummy1:0*\$" $_tfw_tmp/stdout; then + if ! grep "^${SIDB}:UNICAST:dummy1:" $_tfw_tmp/stdout; then return 1 fi } test_stun() { set_instance +A executeOk_servald route print - assertGrep --matches=1 $_tfw_tmp/stdout "^${SIDB}:INDIRECT::${SIDC}\$" + assertGrep --matches=1 $_tfw_tmp/stdout "^${SIDB}:INDIRECT::${SIDC}" test_call_lifecycle set_instance +A wait_until --timeout=10 has_unicast_link