[llvm-commits] [test-suite] r58157 - /test-suite/trunk/External/SPEC/Sandbox.sh
Dan Gohman
gohman at apple.com
Sat Oct 25 14:53:48 PDT 2008
Author: djg
Date: Sat Oct 25 16:53:48 2008
New Revision: 58157
URL: http://llvm.org/viewvc/llvm-project?rev=58157&view=rev
Log:
Using exec in the Sandbox.sh script. This makes it exit with the
same exit status as its child. Currently Sandbox.sh is only used
to run RunSafely.sh, so it will continue to always return 0,
barring catestrophic problems.
Modified:
test-suite/trunk/External/SPEC/Sandbox.sh
Modified: test-suite/trunk/External/SPEC/Sandbox.sh
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/Sandbox.sh?rev=58157&r1=58156&r2=58157&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/Sandbox.sh (original)
+++ test-suite/trunk/External/SPEC/Sandbox.sh Sat Oct 25 16:53:48 2008
@@ -32,9 +32,5 @@
bunzip2 *.bz2 > /dev/null 2>&1
# Run the program now.
-echo Running: $*
-$*
-
-# This script is always successful.
-exit 0
-
+echo Running: "$@"
+exec "$@"
More information about the llvm-commits
mailing list