[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: sort-merge-fdlimit: reduce the limit by one
From: |
Jim Meyering |
Subject: |
Re: [PATCH] tests: sort-merge-fdlimit: reduce the limit by one |
Date: |
Thu, 05 Jul 2012 15:39:11 +0200 |
Pádraig Brady wrote:
> * tests/misc/sort-merge-fdlimit: As a consequence of commit
> v8.17-34-g59daf05, we can reduce the descriptor limit by one.
Good catch. Thanks!
> tests/misc/sort-merge-fdlimit | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/misc/sort-merge-fdlimit b/tests/misc/sort-merge-fdlimit
> index ee1575a..7ce109c 100755
> --- a/tests/misc/sort-merge-fdlimit
> +++ b/tests/misc/sort-merge-fdlimit
> @@ -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