diff --git a/test/lib.sh b/test/lib.sh index 952c15b0..4b13a7ce 100755 --- a/test/lib.sh +++ b/test/lib.sh @@ -289,8 +289,10 @@ wait_backend(){ reply=$(echo ']]>]]>' | $clixon_netconf -qef $cfg 2> /dev/null) let i=0; while [[ $reply != "]]>]]>' | clixon_netconf -qef $cfg 2> /dev/null) + reply=$(echo ']]>]]>' | clixon_netconf -qef $cfg ) + echo "reply:$reply" let i++; echo "wait_backend $i" if [ $i -ge $DEMLOOP ]; then