diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-03-28 13:24:26 +0100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-03-28 13:24:26 +0100 |
commit | 458fc08504c7352f4f32dc04cba107eda69231cc (patch) | |
tree | 349a480700caf962fe08d4ce32109901d96994d3 /test.sh | |
parent | 8e918cccc201f18a75abd605947f3aba14986ab1 (diff) | |
download | ccache-458fc08504c7352f4f32dc04cba107eda69231cc.tar.gz |
some compilers will overwrite /dev/zero - this makes sure the test
suite doesn't break those systems as root
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -114,7 +114,9 @@ basetests() { checkstat 'compiler produced stdout' 1 testname="non-regular" - $CCACHE_COMPILE -o /dev/zero -c test1.c + mkdir testd + $CCACHE_COMPILE -o testd -c test1.c > /dev/null 2>&1 + rmdir testd checkstat 'output to a non-regular file' 1 testname="no-input" |