From: beierlm Date: Thu, 3 Dec 2020 14:28:28 +0000 (-0500) Subject: Additional logging X-Git-Tag: release-v9.0-start~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F10074%2F1;p=osm%2Ftests.git Additional logging Changes output to emit the actual status. Outputs the result of the osm vim-list command. Change-Id: Iaf01715193383b6a6bcee839f26095bf2ccdde77 Signed-off-by: beierlm --- diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index b4803d3..33268e6 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -52,13 +52,15 @@ create_vim(){ do ((i++)) if [[ $i -eq 5 ]]; then - echo "VIM stuck in PROCESSING after 50 seconds" + echo "VIM stuck in ${STATUS} after 50 seconds" osm vim-delete --force ${VIM_TARGET} sleep 5 break fi sleep 10 - STATUS=`osm vim-list --long | grep ${VIM_TARGET} | awk '{print $9}'` + VIM_LIST=`osm vim-list --long | grep ${VIM_TARGET}` + echo VIM status: ${VIM_LIST} + STATUS=`echo ${VIM_LIST} | awk '{print $9}'` done if [[ ${STATUS} = "ENABLED" ]] ; then break