]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: sort-merge-fdlimit: reduce the limit by one
authorPádraig Brady <P@draigBrady.com>
Wed, 4 Jul 2012 10:02:20 +0000 (12:02 +0200)
committerPádraig Brady <P@draigBrady.com>
Fri, 6 Jul 2012 09:41:50 +0000 (10:41 +0100)
* tests/misc/sort-merge-fdlimit: As a consequence of commit
v8.17-34-g59daf05, we can reduce the descriptor limit by one.

tests/misc/sort-merge-fdlimit

index ee1575aed2ed7e212da33dd49502478a290e5203..7ce109c1a4fca688709e5689aedec7bb105676d3 100755 (executable)
@@ -65,7 +65,7 @@ done
 (seq 6 && echo 6) >exp || fail=1
 echo 6 >out || fail=1
 (exec 3<&- 4<&- 5<&- 6</dev/null 7<&6 8<&6 9<&6 &&
- ulimit -n 11 &&
+ ulimit -n 10 &&
  sort -n -m --batch-size=7 -o out out in/1 in/2 in/3 in/4 in/5 out
 ) &&
 compare exp out || fail=1