diff options
author | Greg Steuck <greg@nest.cx> | 2022-01-03 20:09:34 -0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-06 07:57:00 -0500 |
commit | 978ea35e37b49ffde28b0536e44362b66f3187b4 (patch) | |
tree | 0b340fdeaebf017ff8a6ad42c5339d8efd2fa808 | |
parent | f7fc62e227ded3eb33dc54ad295d9f15bcbe14cf (diff) | |
download | haskell-978ea35e37b49ffde28b0536e44362b66f3187b4.tar.gz |
Change ulimit -n in openFile008 back to 1024
The test only wants 1000 descriptors, so changing the limit to double
that *in the context of just this test* makes no sense.
This is a manual revert of 8f7194fae23bdc6db72fc5784933f50310ce51f9.
The justification given in the description doesn't instill confidence.
As of HEAD, the test fails on OpenBSD where ulimit -n is hard-limited
to 1024. The test suite attempts to change it to 2048, which
fails. The test proceeds with the unchanged default of 512 and
naturally the test program fails due to the low ulimit. The fixed test
now passes.
-rw-r--r-- | libraries/base/tests/IO/all.T | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/tests/IO/all.T b/libraries/base/tests/IO/all.T index 7e54bb9ea2..7cb99c0f7f 100644 --- a/libraries/base/tests/IO/all.T +++ b/libraries/base/tests/IO/all.T @@ -66,7 +66,7 @@ test('openFile004', [], compile_and_run, ['']) test('openFile005', [], compile_and_run, ['']) test('openFile006', [], compile_and_run, ['']) test('openFile007', [], compile_and_run, ['']) -test('openFile008', cmd_prefix('ulimit -n 2048; '), compile_and_run, ['']) +test('openFile008', cmd_prefix('ulimit -n 1024; '), compile_and_run, ['']) test('openFile009', [], compile_and_run, ['']) test('putStr001', normal, compile_and_run, ['']) |