diff options
-rw-r--r-- | System/Posix/User.hsc | 6 | ||||
-rw-r--r-- | tests/all.T | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc index 88150a0..2427de0 100644 --- a/System/Posix/User.hsc +++ b/System/Posix/User.hsc @@ -213,6 +213,12 @@ getGroupEntryForName = error "System.Posix.User.getGroupEntryForName: not suppor -- | @getAllGroupEntries@ returns all group entries on the system by -- repeatedly calling @getgrent@ + +-- +-- getAllGroupEntries may fail with isDoesNotExistError on Linux due to +-- this bug in glibc: +-- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647 +-- getAllGroupEntries :: IO [GroupEntry] #ifdef HAVE_GETGRENT getAllGroupEntries = diff --git a/tests/all.T b/tests/all.T index a66f52a..eb94d7d 100644 --- a/tests/all.T +++ b/tests/all.T @@ -10,6 +10,11 @@ test('fileexist01', conf, compile_and_run, ['-package unix']) test('forkprocess01', compose(only_compiler_types(['ghc']), compose(expect_fail_for(['threaded2']), conf)), compile_and_run, ['-package unix']) + +# +# user001 may fail due to this bug in glibc: +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647 +# test('user001', conf, compile_and_run, ['-package unix']) test('resourceLimit', conf, compile_and_run, ['-package unix']) |