#1487: unix package: test needed for getLoginName
-----------------------------+----------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: low | Milestone: 6.8
Component: libraries/unix | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Easy (1 hr) | Os: Unknown
Testcase: | Architecture: Unknown
-----------------------------+----------------------------------------------
I disabled the test for `getLoginName` in unix/tests/user001 because
`getLoginName` cannot be called unless stdin is a terminal, which it isn't
during an unattended build. Perhaps we can test this by setting up a
pseudoterminal first, but that requires the pty patches which aren't in
yet.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1487>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs