diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-16 18:21:32 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-16 18:21:32 +0000 |
commit | 722396c78f534aeeaa2ee65121d705949576f2cb (patch) | |
tree | f8d07b5db5e3e60d79936807fb7bed22ce00bbe3 /tests | |
parent | 4bf53dbed1933ccc68c9e4e295382c4cdfc1c082 (diff) |
Add a test for #5319
Diffstat (limited to 'tests')
-rw-r--r-- | tests/all.T | 1 | ||||
-rw-r--r-- | tests/executeFile001.hs | 6 | ||||
-rw-r--r-- | tests/executeFile001.stdout | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/all.T b/tests/all.T index 0086949..273d185 100644 --- a/tests/all.T +++ b/tests/all.T @@ -59,3 +59,4 @@ test('3816', normal, compile_and_run, ['-package unix']) test('processGroup001', normal, compile_and_run, ['-package unix']) test('processGroup002', normal, compile_and_run, ['-package unix']) +test('executeFile001', normal, compile_and_run, ['-package unix']) diff --git a/tests/executeFile001.hs b/tests/executeFile001.hs new file mode 100644 index 0000000..7a70695 --- /dev/null +++ b/tests/executeFile001.hs @@ -0,0 +1,6 @@ + +import System.Posix.Process + +main :: IO () +main = executeFile "echo" True ["arg1", "ar g2"] Nothing + diff --git a/tests/executeFile001.stdout b/tests/executeFile001.stdout new file mode 100644 index 0000000..9f4111c --- /dev/null +++ b/tests/executeFile001.stdout @@ -0,0 +1 @@ +arg1 ar g2 |