Code

Merge branch 'maint'
[git.git] / t / t4115-apply-symlink.sh
index b947ed83bb1b1d61690df1140ede337b15cb04ed..9ace578f17a07aafc050ccaf935aef8a4a3cab4e 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (c) 2005 Junio C Hamano
 #
 
-test_description='git-apply symlinks and partial files
+test_description='git apply symlinks and partial files
 
 '
 
@@ -33,7 +33,7 @@ test_expect_success 'apply symlink patch' '
        git checkout side &&
        git apply patch &&
        git diff-files -p >patched &&
-       git diff patch patched
+       test_cmp 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 &&
-       git diff patch patched
+       test_cmp patch patched
 
 '