]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Test -I with concatenated argument
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 1 Sep 2010 20:48:27 +0000 (22:48 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 1 Sep 2010 20:48:27 +0000 (22:48 +0200)
test.sh

diff --git a/test.sh b/test.sh
index 26618974a7d077532b924e9ab26c88d8b7882785..3adb5dd9d50020ee4591145add7d6912a4950b12 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1217,7 +1217,8 @@ EOF
     cd ..
 
     cd dir2
-    CCACHE_BASEDIR="`pwd`" $CCACHE $COMPILER -I`pwd`/include -c src/test.c
+    # The space after -I is there to test an extra code path.
+    CCACHE_BASEDIR="`pwd`" $CCACHE $COMPILER -I `pwd`/include -c src/test.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 1
     checkstat 'cache miss' 1