Different notation to avoid false negatives
authorZdeněk Šustr <sustr4@cesnet.cz>
Thu, 28 Jun 2012 10:31:57 +0000 (10:31 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Thu, 28 Jun 2012 10:31:57 +0000 (10:31 +0000)
org.glite.testsuites.ctb/LB/tests/lb-test-https.sh

index 74ad343..f7b8dd9 100755 (executable)
@@ -242,7 +242,7 @@ test_done
                                #Drop notification
                                printf "Dropping the test notification (${notifid})"
                                dropresult=`${LBNOTIFY} drop ${notifid} 2>&1`
-                               if [ -z $dropresult ]; then
+                               if [ "$dropresult" == "" ]; then
                                        test_done
                                else
                                        test_failed