diff --git a/DeploymentTest/tbed.test.bash b/DeploymentTest/tbed.test.bash index 6c841842c9685caf6d0fb21c16773d46b3056ba5..b1f79c3be0501d4fa3db0c85b6db456378fa63f0 100755 --- a/DeploymentTest/tbed.test.bash +++ b/DeploymentTest/tbed.test.bash @@ -83,7 +83,7 @@ else fi LISTING_OUTPUT=`eval $LISTING_COMMAND` -if [ x$TERM != x ]; then +if [ x$TERM == x ]; then NL=`echo "$LISTING_OUTPUT" | wc -l` for i in `seq 0 $NL`; do echo; done for i in `seq 0 $NL`; do tput cuu1; done @@ -96,13 +96,13 @@ while [ "x$LISTING_OUTPUT" != x ]; do echo "timeout" exit 4 fi - if [ x$TERM != x ]; then + if [ x$TERM == x ]; then echo "$LISTING_OUTPUT" fi sleep 1 - if [ x$TERM != x ]; then + if [ x$TERM == x ]; then for i in `seq 0 $NL`; do tput cuu1; done NCOLS=`tput cols` for i in `seq 0 $NL`; do