Skip to content
Snippets Groups Projects
Commit 5ee7433f authored by pcapriotti's avatar pcapriotti
Browse files

Re-enable posix005 test (#5648)

parent 335fd69c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ test('posix003', if_os('mingw32', skip), compile_and_run, [''])
test('posix004', [ reqlib('unix') ], compile_and_run, [''])
test('posix005', [reqlib('unix'), expect_broken(5648)], compile_and_run, [''])
test('posix005', [reqlib('unix') ], compile_and_run, [''])
test('posix006', reqlib('unix'), compile_and_run, [''])
test('posix009', [ omit_ways(threaded_ways), reqlib('unix') ], compile_and_run, [''])
......
......@@ -4,8 +4,8 @@ import System.Posix.Env
main = do
hSetBuffering stdout NoBuffering
term <- getEnvVar "TERM"
putStrLn term
term <- getEnv "TERM"
maybe (return ()) putStrLn term
setEnvironment [("one","1"),("two","2")]
getEnvironment >>= print
setEnv "foo" "bar" True
......@@ -16,6 +16,6 @@ main = do
getEnvironment >>= print
unsetEnv "foo"
getEnvironment >>= print
setEnvironment []
clearEnv
getEnvironment >>= print
emacs
vt100
[("one","1"),("two","2")]
[("one","1"),("two","2"),("foo","bar")]
[("one","1"),("two","2"),("foo","baz")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment