diff --git a/tests/libposix/all.T b/tests/libposix/all.T
index bcea705eebe8ecc2c93a10e759e827665023a1e1..79abf5d361677505da79b5392e350ed6cfe3ba35 100644
--- a/tests/libposix/all.T
+++ b/tests/libposix/all.T
@@ -2,7 +2,8 @@ test('posix002', [ reqlib('unix'), omit_ways(prof_ways) ],
                  compile_and_run, [''])
 
 # Skip on mingw32: assumes existence of 'pwd' and /tmp
-test('posix003', when(opsys('mingw32'), skip), compile_and_run, [''])
+test('posix003', [when(opsys('mingw32'), skip), extra_clean(['po003.out'])],
+                 compile_and_run, [''])
 
 test('posix004', [ reqlib('unix') ], compile_and_run, [''])