summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-04-04 20:48:20 -0400
committerBen Gamari <ben@smart-cactus.org>2017-04-04 20:48:20 -0400
commit3d523fd990bbb31ca97ea22059ec9d53f0705d8c (patch)
treecbf841aed10cf468443ffebbd1ce1de499e1a557 /libraries
parent5b7f504f3c190375903b57a541338bc939ca2dae (diff)
downloadhaskell-3d523fd990bbb31ca97ea22059ec9d53f0705d8c.tar.gz
base: Add test for #13525
Reviewers: austin, hvr Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3419
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/tests/T13525.hs7
-rw-r--r--libraries/base/tests/all.T1
2 files changed, 8 insertions, 0 deletions
diff --git a/libraries/base/tests/T13525.hs b/libraries/base/tests/T13525.hs
new file mode 100644
index 0000000000..1bb01b6a18
--- /dev/null
+++ b/libraries/base/tests/T13525.hs
@@ -0,0 +1,7 @@
+import System.IO
+import System.Timeout
+
+main :: IO ()
+main = do
+ hWaitForInput stdin (5 * 1000)
+ return ()
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index 13049f751c..49298d3524 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -211,3 +211,4 @@ test('T13191',
, only_ways(['normal'])],
compile_and_run,
['-O'])
+test('T13525', expect_broken(13525), compile_and_run, [''])