add a test for getHomeDirectory et. al.
[haskell-directory.git] / tests / all.T
1 test('currentDirectory001',     normal, compile_and_run, [''])
2 test('directory001',            normal, compile_and_run, [''])
3 test('doesDirectoryExist001',   normal, compile_and_run, [''])
4
5 # This test is a bit bogus.  Disable for GHCi.
6 test('getDirContents001', omit_ways(['ghci']), compile_and_run, ['-fno-gen-manifest'])
7
8 test('getDirContents002', exit_code(1), compile_and_run, [''])
9
10 # Depends on binary from previous run, which gets removed by the driver way=ghci
11 test('getPermissions001', omit_ways(['ghci']), compile_and_run, ['-cpp'])
12
13 test('copyFile001',  extra_clean(['copyFile/target']), compile_and_run, [''])
14 test('copyFile002',  extra_clean(['copyFile/target']), compile_and_run, [''])
15
16 test('renameFile001', extra_clean(['renameFile001.tmp1','renameFile001.tmp2']),
17       compile_and_run, [''])
18
19 test('createDirectory001',  normal, compile_and_run, [''])
20
21 test('createDirectoryIfMissing001',  normal, compile_and_run, [''])
22
23 # No sane way to tell whether the output is reasonable here...
24 test('getHomeDirectory001',  ignore_output, compile_and_run, [''])