[Swift-commit] r6041 - SwiftApps/SciColSim/benchmarks

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Nov 14 17:14:21 CST 2012


Author: davidk
Date: 2012-11-14 17:14:21 -0600 (Wed, 14 Nov 2012)
New Revision: 6041

Modified:
   SwiftApps/SciColSim/benchmarks/benchmark.sh
Log:
Only record a value of -1 in case of timeouts


Modified: SwiftApps/SciColSim/benchmarks/benchmark.sh
===================================================================
--- SwiftApps/SciColSim/benchmarks/benchmark.sh	2012-11-14 06:32:29 UTC (rev 6040)
+++ SwiftApps/SciColSim/benchmarks/benchmark.sh	2012-11-14 23:14:21 UTC (rev 6041)
@@ -2,7 +2,7 @@
 
 cleanup()
 {
-    kill -s 0 $a || echo -1  >> $OUTPUT
+    kill -s 0 $a && echo -1  >> $OUTPUT
     trap - ALRM 
     kill -ALRM $a 2>/dev/null
     kill $! 2>/dev/null && 




More information about the Swift-commit mailing list