]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Use shell builtin pwd for basedir test (#933)
authorKira Bruneau <kira.bruneau@pm.me>
Mon, 13 Sep 2021 17:05:44 +0000 (13:05 -0400)
committerGitHub <noreply@github.com>
Mon, 13 Sep 2021 17:05:44 +0000 (19:05 +0200)
test/suites/basedir.bash

index 479c63234117ce6b1987bfd17c13235af2cd8b9c..34e5cb7024b4cf6fde774da275baf0b41c5b5349 100644 (file)
@@ -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