sha1_file.c: learn about index version 2
[gitweb.git] / t / t4004-diff-rename-symlink.sh
index f59614ae255b33f450a784200716c9fd63b0a054..a23aaa0a9471c68b233480cf34c7115d1f40e154 100755 (executable)
@@ -10,6 +10,7 @@ copy of symbolic links, but should not produce rename/copy followed
 by an edit for them.
 '
 . ./test-lib.sh
+. ../diff-lib.sh
 
 test_expect_success \
     'prepare reference tree' \
@@ -61,6 +62,6 @@ EOF
 
 test_expect_success \
     'validate diff output' \
-    'diff -u current expected'
+    'compare_diff_patch current expected'
 
 test_done