Makefile: SunOS 5.6 portability fix
[gitweb.git] / t / t0000-basic.sh
index f4ca4fc85c6b52a2ba919528284f2b668e6bd3d2..5dd18c05abadc6af46cfd213e3023e51ae863239 100755 (executable)
@@ -280,7 +280,7 @@ $expectfilter >expected <<\EOF
 EOF
 test_expect_success \
     'validate git diff-files output for a know cache/work tree state.' \
-    'git diff-files >current && diff >/dev/null -b current expected'
+    'git diff-files >current && test_cmp current expected >/dev/null'
 
 test_expect_success \
     'git update-index --refresh should succeed.' \