summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-15 17:48:20 (GMT)
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-17 22:26:26 (GMT)
commitcf7f8e5bbec83da1bb62075968bc78c86414c245 (patch)
tree2360ff9f68bac5aed71ce455b45aaa8b9cc50581
parent97f1bcaeb05f443d267a1a0692ed45e35509e84f (diff)
downloadghc-cf7f8e5bbec83da1bb62075968bc78c86414c245.zip
ghc-cf7f8e5bbec83da1bb62075968bc78c86414c245.tar.gz
ghc-cf7f8e5bbec83da1bb62075968bc78c86414c245.tar.bz2
testsuite: Skip T17414 on Linux
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 8ca136a..bfc6a09 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, [''])