summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2022-01-08 22:34:13 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-11 19:45:50 -0500
commit7911aaa93fa7dd81ba0c0523046a3a649e329309 (patch)
treeb874b5e67a563f663b1a85023c68a4adba66c47d
parente505dbd36f3c8c43a645a176babefabfd0a72eeb (diff)
downloadhaskell-7911aaa93fa7dd81ba0c0523046a3a649e329309.tar.gz
Feed /dev/null into cgrun025
The test currently times out waiting for end of stdin in getContents. The expected output indicates that nothing should come for the test to pass as written. It is unclear how the test was supposed to pass, but this looks like a sufficient hack to make it work.
-rw-r--r--testsuite/tests/codeGen/should_run/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 75deb6dfbe..155cfadb87 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -29,7 +29,7 @@ test('cgrun021', extra_ways(['nursery_chunks']), compile_and_run, [''])
test('cgrun022', normal, compile_and_run, [''])
test('cgrun024', normal, compile_and_run, [''])
test('cgrun025',
- [ extra_run_opts('cgrun025.hs'), exit_code(1)],
+ [ extra_run_opts('cgrun025.hs < /dev/null'), exit_code(1)],
compile_and_run, [''])
test('cgrun026', normal, compile_and_run, [''])
test('cgrun027', normal, compile_and_run, [''])