[GHC] #1487: unix package: test needed for getLoginName
GHC
cvs-ghc at haskell.org
Sat Dec 8 18:04:53 CET 2012
#1487: unix package: test needed for getLoginName
----------------------------------------+-----------------------------------
Reporter: simonmar | Owner: adrien
Type: bug | Status: new
Priority: lowest | Milestone: 7.6.2
Component: libraries/unix | Version: 6.6.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Easy (less than 1 hour) | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------------+-----------------------------------
Comment(by igloo):
It still fails for me:
{{{
$ make CLEANUP=1 TEST=user001
[...]
=====> user001(normal) 5 of 28 [0, 0, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp
-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts
-fno-ghci-history -o user001 user001.hs -package unix
>user001.comp.stderr 2>&1
cd . && ./user001 </dev/null >user001.run.stdout 2>user001.run.stderr
Actual stdout output differs from expected:
--- ./user001.stdout 2011-04-01 14:32:07.000000000 +0100
+++ ./user001.run.stdout 2012-12-08 17:05:06.000000000 +0000
@@ -3,6 +3,7 @@
getEffectiveUserID: OK
getEffectiveGroupID: OK
getGroups: OK
+getLoginName: ERROR: getLoginName: illegal operation (Inappropriate ioctl
for device)
getEffectiveUserName: OK
getGroupEntryForID: OK
getGroupEntryForName: OK
*** unexpected failure for user001(normal)
[...]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1487#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list