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

Misha Brukman brukman at cs.uiuc.edu
Sun Aug 31 12:10:02 PDT 2003


Changes in directory llvm/test/Programs:

RunSafely.sh updated: 1.9 -> 1.10

---
Log message:

Set a limit on files being output to prevent filling up the disk when a test
causes an infinite loop.


---
Diffs of the changes:

Index: llvm/test/Programs/RunSafely.sh
diff -u llvm/test/Programs/RunSafely.sh:1.9 llvm/test/Programs/RunSafely.sh:1.10
--- llvm/test/Programs/RunSafely.sh:1.9	Thu Jul  3 12:50:57 2003
+++ llvm/test/Programs/RunSafely.sh	Sun Aug 31 12:09:15 2003
@@ -25,6 +25,9 @@
 ulimit -t $ULIMIT
 rm -f core core.*
 ulimit -c unlimited
+# To prevent infinite loops which fill up the disk, specify a limit on size of
+# files being output by the tests. 1 MB should be enough for anybody. ;)
+ulimit -f 1048576
 
 #
 # If we are on a sun4u machine (UltraSparc), then the code we're generating





More information about the llvm-commits mailing list