diff options
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh')
-rw-r--r-- | tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh b/tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh index 1dc8ae0..81fd0ff 100644 --- a/tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh +++ b/tests/data_plane/vpp_lite_topo/test_driver/basic_multi_traffic.sh @@ -27,7 +27,7 @@ function test_basic_multi_traffic test_result=1 - if [ "$3" == "wait" ] ; then + if [ "$5" == "wait" ] ; then read -p "press any key to continue .." -n1 fi @@ -56,6 +56,10 @@ function test_basic_multi_traffic ODL_CONFIG_DIR=`pwd`/../configs/odl/basic/4o4 post_curl "update-mapping" ${ODL_CONFIG_FILE3} + if [ "$5" == "wait" ] ; then + read -p "press any key to continue .." -n1 + fi + ip netns exec vppns1 "${1}" -w 15 -c 1 "${2}" if [ $? -ne 0 ] ; then echo "No response received!" @@ -66,7 +70,7 @@ function test_basic_multi_traffic ip netns exec vppns1 "${3}" -w 15 -c 1 "${4}" rc=$? - if [ "$3" == "wait" ] ; then + if [ "$5" == "wait" ] ; then read -p "press any key to continue .." -n1 fi |