some compilers will overwrite /dev/zero - this makes sure the test

suite doesn't break those systems as root
This commit is contained in:
Andrew Tridgell 2003-03-28 13:24:26 +01:00
parent 8e918cccc2
commit 458fc08504

View File

@ -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"