From: Joel Rosdahl Date: Tue, 25 May 2010 16:43:09 +0000 (+0200) Subject: Correct include file distrust test case X-Git-Tag: v3.0~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8ffb89531ad5fed3f546d526bc4a1cc7b8ae11;p=thirdparty%2Fccache.git Correct include file distrust test case --- diff --git a/test.sh b/test.sh index 7c13ff5fe..8b9c0b370 100755 --- a/test.sh +++ b/test.sh @@ -988,7 +988,9 @@ EOF #!/bin/sh CCACHE_DISABLE=1 # If $COMPILER happens to be a ccache symlink... export CCACHE_DISABLE -[ x\$2 = "x-E" ] && touch \$3 # Be sure that mtime >= time_of_compilation +stat new.h >>/tmp/stat.log +[ x\$2 = "x-E" ] && touch new.h # Be sure that mtime >= time_of_compilation +stat new.h >>/tmp/stat.log exec $COMPILER "\$@" EOF chmod +x $touchy_compiler @@ -1017,7 +1019,7 @@ EOF #!/bin/sh CCACHE_DISABLE=1 # If $COMPILER happens to be a ccache symlink... export CCACHE_DISABLE -[ x\$2 = "x-E" ] && touch \$3 # Be sure that mtime >= time_of_compilation +[ x\$2 = "x-E" ] && touch new.h # Be sure that mtime >= time_of_compilation exec $COMPILER "\$@" EOF chmod +x $touchy_compiler