mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 09:51:50 +00:00
Fix vomp stun test after route print change
This commit is contained in:
parent
231ab257e4
commit
b5afcf9a8f
@ -215,14 +215,14 @@ setup_stun() {
|
|||||||
has_unicast_link() {
|
has_unicast_link() {
|
||||||
executeOk_servald route print
|
executeOk_servald route print
|
||||||
tfw_cat --stdout
|
tfw_cat --stdout
|
||||||
if ! grep "^${SIDB}:UNICAST:dummy1:0*\$" $_tfw_tmp/stdout; then
|
if ! grep "^${SIDB}:UNICAST:dummy1:" $_tfw_tmp/stdout; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
test_stun() {
|
test_stun() {
|
||||||
set_instance +A
|
set_instance +A
|
||||||
executeOk_servald route print
|
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
|
test_call_lifecycle
|
||||||
set_instance +A
|
set_instance +A
|
||||||
wait_until --timeout=10 has_unicast_link
|
wait_until --timeout=10 has_unicast_link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user