summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/libposix/posix003.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib/libposix/posix003.hs')
-rw-r--r--testsuite/tests/lib/libposix/posix003.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/lib/libposix/posix003.hs b/testsuite/tests/lib/libposix/posix003.hs
new file mode 100644
index 0000000000..dbea5e1d9b
--- /dev/null
+++ b/testsuite/tests/lib/libposix/posix003.hs
@@ -0,0 +1,6 @@
+import IO
+import Posix
+
+main =
+ openFile "po003.out" WriteMode >>= \ h ->
+ runProcess "pwd" [] Nothing (Just "/usr/tmp") Nothing (Just h) Nothing