forgotten test expression
authorZdeněk Šustr <sustr4@cesnet.cz>
Sun, 27 Feb 2011 08:30:37 +0000 (08:30 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Sun, 27 Feb 2011 08:30:37 +0000 (08:30 +0000)
org.glite.testsuites.ctb/LB/tests/lb-test-sandbox-transfer.sh

index d915d68..32fe822 100755 (executable)
@@ -334,8 +334,8 @@ else
 
                        $SYS_GREP "invalid option -- n" sbtestjob.$$.err > /dev/null
 
-                       if [ ]; then
-                               printf "SB collection: capability not detected..."
+                       if [ $? -eq 0 ]; then
+                               printf "Capability not detected..."
                                test_skipped
                        else