Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8fe62950
Commit
8fe62950
authored
May 09, 2005
by
simonmar
Browse files
[project @ 2005-05-09 09:12:02 by simonmar]
make this test independent of the FD value (fix test with -prof)
parent
33ade927
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/lib/IO/hDuplicateTo001.hs
View file @
8fe62950
...
...
@@ -9,7 +9,7 @@ main = do
fdh
<-
getfd
h
fdstdout
<-
getfd
stdout
hPutStrLn
stderr
(
"h: "
++
show
fdh
++
"
\n
stdout: "
++
show
fdstdout
)
hPutStrLn
stderr
(
"h: "
++
show
(
fdh
/=
fdstdout
)
++
"
\n
stdout: "
++
show
fdstdout
)
hClose
h
putStrLn
"bla"
...
...
testsuite/tests/ghc-regress/lib/IO/hDuplicateTo001.stderr
View file @
8fe62950
h:
3
h:
True
stdout: 1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment