From: Kira Bruneau Date: Mon, 13 Sep 2021 17:05:44 +0000 (-0400) Subject: test: Use shell builtin pwd for basedir test (#933) X-Git-Tag: v4.4.2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb03159d9b8e5ba44818a44b4038f181e61f6836;p=thirdparty%2Fccache.git test: Use shell builtin pwd for basedir test (#933) --- diff --git a/test/suites/basedir.bash b/test/suites/basedir.bash index 479c63234..34e5cb702 100644 --- a/test/suites/basedir.bash +++ b/test/suites/basedir.bash @@ -281,7 +281,7 @@ EOF EOF backdate test.h - pwd="$(/bin/pwd -P)" + pwd="$(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