diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2010-07-03 02:34:37 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2010-07-03 02:34:37 +0000 |
commit | ba0fe373dd7ab9eb76af982a1eb62958ce275ce9 (patch) | |
tree | 78b59f38e2c2032d9b40105f789d62e448d87906 | |
parent | bfdc88f43ff5518966f62a1811eb99105ddab82b (diff) |
the sedtest regress test requires 200-ish file descriptors, so set a
somewhat nicer limit inside the script itself.
debugged and reviewed with naddy@
-rw-r--r-- | regress/usr.bin/sed/sedtest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/usr.bin/sed/sedtest.sh b/regress/usr.bin/sed/sedtest.sh index adb057bf724..e8fcf5b6356 100644 --- a/regress/usr.bin/sed/sedtest.sh +++ b/regress/usr.bin/sed/sedtest.sh @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: sedtest.sh,v 1.4 2010/07/02 02:45:02 naddy Exp $ +# $OpenBSD: sedtest.sh,v 1.5 2010/07/03 02:34:36 phessler Exp $ # # Copyright (c) 1992 Diomidis Spinellis. # Copyright (c) 1992, 1993 @@ -44,6 +44,7 @@ main() TESTLOG=${2-sed.out} DICT=${3-/usr/share/dict/words} + ulimit -n 256 rm -f lines1 lines2 i=1 while [ $i -lt 15 ]; do |