check for valid stateEnterTime.
authorZdeněk Šustr <sustr4@cesnet.cz>
Tue, 15 Mar 2011 14:11:04 +0000 (14:11 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Tue, 15 Mar 2011 14:11:04 +0000 (14:11 +0000)
org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh

index ebce5b5..07c4c0c 100755 (executable)
@@ -193,7 +193,7 @@ else
                                test_done
                        fi
 
-                       printf "Checking if subjob has stateEnterTime set... "
+                       printf "Checking if subjob has stateEnterTime set and > 0... "
                        j1stateenter=`${LBJOBSTATUS} ${subjobs[0]} | $SYS_GREP "stateEnterTime :" | $SYS_SED 's/stateEnterTime :\s*//' `
                        cresult=`$SYS_EXPR $j1stateenter= \> 0`
                        if [ "$cresult" -eq "1" ]; then