From: Joel Rosdahl Date: Tue, 24 Aug 2021 17:43:30 +0000 (+0200) Subject: fix(test): Fix basedir suite failure with symlinked PWD X-Git-Tag: v4.4.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2397a0605a24d61d60738fa21591510a9fa24eed;p=thirdparty%2Fccache.git fix(test): Fix basedir suite failure with symlinked PWD Fixes #916. --- diff --git a/test/suites/basedir.bash b/test/suites/basedir.bash index 0bc83cbce..479c63234 100644 --- a/test/suites/basedir.bash +++ b/test/suites/basedir.bash @@ -281,7 +281,7 @@ EOF EOF backdate test.h - pwd=$PWD.real + pwd="$(/bin/pwd -P)" $REAL_COMPILER -c $pwd/test.c 2>reference.stderr CCACHE_ABSSTDERR=1 CCACHE_BASEDIR="$pwd" $CCACHE_COMPILE -c $pwd/test.c 2>ccache.stderr