From 23d62156b0f9b87b4541688a535ca5aa378969a8 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 10 Nov 2007 23:58:05 +0000 Subject: Throw a proper exception if getGroupEntryForName fails to find an entry We used to get *** Exception: getGroupEntryForName: failed (Success) Fixes trac #1655 --- tests/all.T | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/all.T') diff --git a/tests/all.T b/tests/all.T index 2ae037f..6df75fe 100644 --- a/tests/all.T +++ b/tests/all.T @@ -18,4 +18,6 @@ if config.platform == 'i386-unknown-freebsd': test('queryfdoption01', compose(omit_ways(['ghci']), compose(only_compiler_types(['ghc']), conf)), compile_and_run, ['-package unix']) test('getEnvironment01', conf, compile_and_run, ['-package unix']) +test('getGroupEntryForName', compose(conf, expect_fail), compile_and_run, + ['-package unix']) -- cgit v1.2.3