]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Support Solaris's stupid /bin/sh
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 10 Nov 2010 17:43:43 +0000 (18:43 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 10 Nov 2010 17:43:43 +0000 (18:43 +0100)
test.sh

diff --git a/test.sh b/test.sh
index f9bbedd7d02be67b87ddea8867f8dccfe284df02..9eda7557e1f193e937a6e152462732b72618edad 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1215,7 +1215,9 @@ Results (1):
     Hash: normalized
     Size: normalized
 EOF
-    if ! diff expected.dump manifest.dump; then
+    if diff expected.dump manifest.dump; then
+        :
+    else
         test_failed "unexpected output of --dump-manifest"
     fi
 }