From 69b241ab3869e33df7ca074d425532a06cb0ba5b Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Fri, 23 Oct 2015 16:56:08 -0500 Subject: [PATCH] test: fix ccache For some reason CCACHE_HASHDIR needs to be unset for ccache to work when building the integration tests from the kpatch-test script. --- test/integration/kpatch-test | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/kpatch-test b/test/integration/kpatch-test index 2233bf3..1eb672d 100755 --- a/test/integration/kpatch-test +++ b/test/integration/kpatch-test @@ -45,6 +45,7 @@ ROOTDIR="$(readlink -f $SCRIPTDIR/../..)" # TODO: option to use system-installed binaries instead KPATCH="sudo $ROOTDIR/kpatch/kpatch" RMMOD="sudo rmmod" +unset CCACHE_HASHDIR KPATCHBUILD="$ROOTDIR"/kpatch-build/kpatch-build ERROR=0 LOG=test.log