[commit: ghc] master: base: Add test for #13525 (3d523fd)
git at git.haskell.org
git at git.haskell.org
Wed Apr 5 00:49:45 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3d523fd990bbb31ca97ea22059ec9d53f0705d8c/ghc
>---------------------------------------------------------------
commit 3d523fd990bbb31ca97ea22059ec9d53f0705d8c
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Tue Apr 4 20:48:20 2017 -0400
base: Add test for #13525
Reviewers: austin, hvr
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3419
>---------------------------------------------------------------
3d523fd990bbb31ca97ea22059ec9d53f0705d8c
libraries/base/tests/T13525.hs | 7 +++++++
libraries/base/tests/all.T | 1 +
2 files changed, 8 insertions(+)
diff --git a/libraries/base/tests/T13525.hs b/libraries/base/tests/T13525.hs
new file mode 100644
index 0000000..1bb01b6
--- /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 13049f7..49298d3 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, [''])
More information about the ghc-commits
mailing list