summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-15 12:48:20 -0500
committerBen Gamari <ben@smart-cactus.org>2019-11-15 12:50:59 -0500
commit16bba3763ac920a6c1e1d72b0b4a1eaa5742118f (patch)
tree857b7d9612fc6754a3f0e50083d1231a1b4a3718
parentc2991f16cb6f5b4e7cff46a394dda4247d973f44 (diff)
downloadhaskell-wip/T17459.tar.gz
testsuite: Skip T17414 on Linuxwip/T17459
It is typical for $TMP to be a small tmpfson Linux. This test will fail in such cases since we must create a file larger than the filesystem. See #17459.
-rw-r--r--libraries/base/tests/IO/all.T4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/base/tests/IO/all.T b/libraries/base/tests/IO/all.T
index 8ca136adef..bfc6a090e9 100644
--- a/libraries/base/tests/IO/all.T
+++ b/libraries/base/tests/IO/all.T
@@ -136,5 +136,9 @@ test('T7853', normal, compile_and_run, [''])
test('T17414',
[when(wordsize(32), skip),
when(opsys('mingw32'), fragile(17453)),
+ # It is common for tmpfs to be mounted to a small tmpfs on modern Linux
+ # distributions. This test needs to create a large file which will exceed the
+ # size of this filesystem onsequently we must skip it (see #17459).
+ when(opsys('linux'), skip),
high_memory_usage],
compile_and_run, [''])