]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Fix test failure when compiler is masquerading old ccache
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 19 May 2022 19:58:50 +0000 (21:58 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 23 May 2022 17:16:30 +0000 (19:16 +0200)
test/run

index d8b5466b3070dea943a03d0f484b764a048ffc25..72235791f973e79d55e38294aa1cf7807295b086 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -3,7 +3,7 @@
 # A simple test suite for ccache.
 #
 # Copyright (C) 2002-2007 Andrew Tridgell
-# Copyright (C) 2009-2021 Joel Rosdahl and other contributors
+# Copyright (C) 2009-2022 Joel Rosdahl and other contributors
 #
 # See doc/AUTHORS.adoc for a complete list of contributors.
 #
@@ -603,7 +603,7 @@ cat >"$COMPILER" <<EOF
 #!/bin/sh
 
 CCACHE_DISABLE=1 CCACHE_COMPILER= CCACHE_PREFIX= \
-  exec $COMPILER_BIN$COMPILER_ARGS "\$@"
+  exec $REAL_COMPILER_BIN$COMPILER_ARGS "\$@"
 EOF
 chmod +x "$COMPILER"