From: Joel Rosdahl Date: Sun, 3 Mar 2013 21:12:58 +0000 (+0100) Subject: test: Fix unportable shell script construct X-Git-Tag: v3.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=823a70f6390a1c504cd96c1837f882f275a28633;p=thirdparty%2Fccache.git test: Fix unportable shell script construct --- diff --git a/test.sh b/test.sh index 08eb08ab4..716721958 100755 --- a/test.sh +++ b/test.sh @@ -46,7 +46,8 @@ unset CCACHE_UNIFY # Many tests backdate files, which updates their ctimes. In those tests, we # must ignore ctimes. Might as well do so everywhere. default_sloppiness=include_file_ctime -export CCACHE_SLOPPINESS="$default_sloppiness" +CCACHE_SLOPPINESS="$default_sloppiness" +export CCACHE_SLOPPINESS test_failed() { echo "SUITE: \"$testsuite\", TEST: \"$testname\" - $1"