]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Clear out env so "make test" always works
authorOwen Mann <owen@mann.org>
Sat, 20 Feb 2010 08:55:32 +0000 (09:55 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Feb 2010 08:55:32 +0000 (09:55 +0100)
Fix for bug #7161.

test.sh

diff --git a/test.sh b/test.sh
index 40167fd7f7c81f72267c36a624fff6fb46a64171..d3a5a4e21e322a769b8bf80a0e6b5a1347695cf3 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -30,7 +30,11 @@ if [ -z "$CCACHE" ]; then
 fi
 TESTDIR=testdir.$$
 
-unset CCACHE_DISABLE
+unset CCACHE_BASEDIR CCACHE_CC CCACHE_CPP2 CCACHE_DIR CCACHE_DISABLE
+unset CCACHE_EXTENSION CCACHE_HARDLINK CCACHE_HASHDIR CCACHE_HASH_COMPILER
+unset CCACHE_LOGFILE CCACHE_NLEVELS CCACHE_NOCOMPRESS CCACHE_NODIRECT
+unset CCACHE_NOHASH_SIZE_MTIME CCACHE_NOSTATS CCACHE_PATH CCACHE_PREFIX
+unset CCACHE_READONLY CCACHE_RECACHE CCACHE_TEMPDIR CCACHE_UMASK CCACHE_UNIFY
 
 test_failed() {
     echo "SUITE: \"$testsuite\", TEST: \"$testname\" - $1"