X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ft4000-diff-format.sh;h=91015d76fc5b63e0ffa68eb121bb514aa9a74f8f;hb=6bac10d89d0889118a3e747c9c9210fd437c140d;hp=91ed2dc65c6d14276d3533942f902cdcf45de177;hpb=b58f23b38a9a9f28d751311353819d3cdf6a86da;p=git.git diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh old mode 100644 new mode 100755 index 91ed2dc6..91015d76 --- a/t/t4000-diff-format.sh +++ b/t/t4000-diff-format.sh @@ -16,7 +16,7 @@ chmod +x path1 test_expect_success \ 'update-cache --add two files with and without +x.' \ - 'git-update-cache --add path0 path1' + 'git-update-index --add path0 path1' mv path0 path0- sed -e 's/line/Line/' path0 @@ -50,4 +50,13 @@ test_expect_success \ 'validate git-diff-files -p output.' \ 'cmp -s current expected' +test_expect_success \ + 'build same diff using git-diff-helper.' \ + 'git-diff-files -z | git-diff-helper -z >current' + + +test_expect_success \ + 'validate git-diff-helper output.' \ + 'cmp -s current expected' + test_done