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 <mark.beierl@canonical.com>
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 @@
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