]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Fix "profile-use" failure on GCC 4.9
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 15 Nov 2014 14:44:21 +0000 (15:44 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 15 Nov 2014 14:44:21 +0000 (15:44 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 7781497b6b8adfe9bdda6d6915609e065f47d648..79e3e0d1ee57031388234570f59cfb980a3395a5 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -586,14 +586,12 @@ EOF
         checkstat 'files in cache' 2
 
         testname="profile-use"
-        $CCACHE_COMPILE -c -fprofile-use test1.c 2> /dev/null
+        $CCACHE_COMPILE -c -fprofile-use test1.c 2>/dev/null
         checkstat 'cache hit (preprocessed)' 2
         checkstat 'cache miss' 3
-        checkstat 'files in cache' 4
-        $CCACHE_COMPILE -c -fprofile-use test1.c 2> /dev/null
+        $CCACHE_COMPILE -c -fprofile-use test1.c 2>/dev/null
         checkstat 'cache hit (preprocessed)' 3
         checkstat 'cache miss' 3
-        checkstat 'files in cache' 4
     fi
 
     ##################################################################