From: Mark Beierl Date: Wed, 15 Jul 2020 18:50:22 +0000 (-0400) Subject: Fixing Logic X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F9423%2F1;p=osm%2Ftests.git Fixing Logic Breaks out of the loop once the vim is enabled Change-Id: I2b8b6faeb7aa599a286ecc51155653b7d87ec52d Signed-off-by: Mark Beierl --- diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index e8a02db..a279ff0 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -54,6 +54,9 @@ create_vim(){ sleep 10 STATUS=`osm vim-list --long | grep ${VIM_TARGET} | awk '{print $9}'` done + if [[ ${STATUS} = "ENABLED" ]] ; then + break + fi ((attempts--)) done