Fix t5516-fetch for systems where `wc -l` outputs whitespace.
[gitweb.git] / t / t4115-apply-symlink.sh
index d5f2cfb186110160df47a450e2f76206b85ee51b..b947ed83bb1b1d61690df1140ede337b15cb04ed 100755 (executable)
@@ -33,7 +33,7 @@ test_expect_success 'apply symlink patch' '
        git checkout side &&
        git apply patch &&
        git diff-files -p >patched &&
-       diff -u patch patched
+       git diff patch patched
 
 '
 
@@ -42,7 +42,7 @@ test_expect_success 'apply --index symlink patch' '
        git checkout -f side &&
        git apply --index patch &&
        git diff-index --cached -p HEAD >patched &&
-       diff -u patch patched
+       git diff patch patched
 
 '