Fix condition
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 28 Jul 2010 15:42:48 +0000 (15:42 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 28 Jul 2010 15:42:48 +0000 (15:42 +0000)
org.glite.testsuites.ctb/LB/tests/test-common.sh

index 6a5c5ab..4480ea2 100644 (file)
@@ -55,7 +55,7 @@ if [ -z "${LINES}" -o -z "${COLUMNS}" ]; then
                COLUMNS=`echo ${stty_size} | awk '{print $2}'`
        else
                LINES=24
-               if [ -z $LBTSTCOLS ]; then
+               if [ $LBTSTCOLS -gt 0 ]; then
                        COLUMNS=$LBTSTCOLS
                else            
                        COLUMNS=80