[Swift-commit] r4512 - trunk/tests

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon May 23 11:58:32 CDT 2011


Author: wozniak
Date: 2011-05-23 11:58:32 -0500 (Mon, 23 May 2011)
New Revision: 4512

Modified:
   trunk/tests/suite.sh
Log:
Bug fix in exit code handling


Modified: trunk/tests/suite.sh
===================================================================
--- trunk/tests/suite.sh	2011-05-23 16:55:53 UTC (rev 4511)
+++ trunk/tests/suite.sh	2011-05-23 16:58:32 UTC (rev 4512)
@@ -625,7 +625,7 @@
   "$@" > $OUTPUT 2>&1 &
   PROCESS_INTERNAL_PID=$!
   trap "process_trap $PROCESS_INTERNAL_PID" SIGTERM
-  wait
+  wait $PROCESS_INTERNAL_PID
   EXITCODE=$?
 
   if [ "$EXITCODE" == "127" ]; then




More information about the Swift-commit mailing list