[llvm-commits] [test-suite] r51414 - /test-suite/branches/release_23/RunSafely.sh

Tanya Lattner tonic at nondot.org
Wed May 21 22:11:45 PDT 2008


Author: tbrethou
Date: Thu May 22 00:11:45 2008
New Revision: 51414

URL: http://llvm.org/viewvc/llvm-project?rev=51414&view=rev
Log:
Merge from mainline.

Modified:
    test-suite/branches/release_23/RunSafely.sh

Modified: test-suite/branches/release_23/RunSafely.sh
URL: http://llvm.org/viewvc/llvm-project/test-suite/branches/release_23/RunSafely.sh?rev=51414&r1=51413&r2=51414&view=diff

==============================================================================
--- test-suite/branches/release_23/RunSafely.sh (original)
+++ test-suite/branches/release_23/RunSafely.sh Thu May 22 00:11:45 2008
@@ -105,7 +105,7 @@
 fi
 
 if [ "x$RHOST" = x ] ; then
-  ( sh -c "$ULIMITCMD time -p $COMMAND >$OUTFILE 2>&1 < $INFILE; echo exit \$?" ) 2>&1 \
+  ( sh -c "$ULIMITCMD time -p sh -c '$COMMAND >$OUTFILE 2>&1 < $INFILE; echo exit \$?'" ) 2>&1 \
     | awk -- '\
 BEGIN     { cpu = 0.0; }
 /^user/   { cpu += $2; print; }





More information about the llvm-commits mailing list