[llvm-commits] CVS: llvm/test/Programs/RunSafely.sh

LLVM llvm at cs.uiuc.edu
Sat Jun 26 12:05:01 PDT 2004


Changes in directory llvm/test/Programs:

RunSafely.sh updated: 1.12 -> 1.13

---
Log message:

Make the "time" command output use POSIX standard format. This is the 
default on Linux but FreeBSD uses the BSD output format by default. 
Patch contributed by Vladimir Merzliakov! Thanks, Vladimir!


---
Diffs of the changes:  (+1 -1)

Index: llvm/test/Programs/RunSafely.sh
diff -u llvm/test/Programs/RunSafely.sh:1.12 llvm/test/Programs/RunSafely.sh:1.13
--- llvm/test/Programs/RunSafely.sh:1.12	Sat May 29 14:53:36 2004
+++ llvm/test/Programs/RunSafely.sh	Sat Jun 26 12:01:12 2004
@@ -51,7 +51,7 @@
 # we tell time to launch a shell which in turn executes $PROGRAM with the
 # necessary I/O redirection.
 #
-(time sh -c "$PROGRAM $* > $OUTFILE 2>&1 < $INFILE") > $OUTFILE.time 2>&1
+(time -p sh -c "$PROGRAM $* > $OUTFILE 2>&1 < $INFILE") > $OUTFILE.time 2>&1
 
 if test $? -eq 0
 then





More information about the llvm-commits mailing list