From 1d535aff29bd12c8c96e3a6c206c4a89f530d144 Mon Sep 17 00:00:00 2001 From: beierlm Date: Thu, 3 Dec 2020 09:28:28 -0500 Subject: [PATCH] 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 --- robot-systest/run_test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.25.1