X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Ft4043-diff-rename-binary.sh;h=2a2cf91352037b6f2c238237474aa1d78928f5ad;hb=d76be339dbf72dfa82248c4b6569c05b662d81b2;hp=06012811a1abf2e7d9c766e84b32dae8a95a7321;hpb=189627cd588c2937de7b655595b8ed777f445c85;p=platform%2Fupstream%2Fgit.git diff --git a/t/t4043-diff-rename-binary.sh b/t/t4043-diff-rename-binary.sh index 0601281..2a2cf91 100755 --- a/t/t4043-diff-rename-binary.sh +++ b/t/t4043-diff-rename-binary.sh @@ -23,9 +23,8 @@ test_expect_success 'move the files into a "sub" directory' ' ' cat > expected <<\EOF - bar => sub/bar | Bin 5 -> 5 bytes - foo => sub/foo | 0 - 2 files changed, 0 insertions(+), 0 deletions(-) +- - bar => sub/bar +0 0 foo => sub/foo diff --git a/bar b/sub/bar similarity index 100% @@ -38,7 +37,8 @@ rename to sub/foo EOF test_expect_success 'git show -C -C report renames' ' - git show -C -C --raw --binary --stat | tail -n 12 > current && + git show -C -C --raw --binary --numstat >patch-with-stat && + tail -n 11 patch-with-stat >current && test_cmp expected current '