l10n: bg.po: Updated Bulgarian translation (5211t)
[git.git] / t / t0022-crlf-rename.sh
blobc1a331e9e939fa975ba038934e885bb2fe93b63c
1 #!/bin/sh
3 test_description='ignore CR in CRLF sequence while computing similiarity'
5 TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
8 test_expect_success setup '
10 cat "$TEST_DIRECTORY"/t0022-crlf-rename.sh >sample &&
11 git add sample &&
13 test_tick &&
14 git commit -m Initial &&
16 append_cr <"$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas &&
17 git add elpmas &&
18 rm -f sample &&
20 test_tick &&
21 git commit -a -m Second
25 test_expect_success 'diff -M' '
27 git diff-tree -M -r --name-status HEAD^ HEAD |
28 sed -e "s/R[0-9]*/RNUM/" >actual &&
29 echo "RNUM sample elpmas" >expect &&
30 test_cmp expect actual
34 test_done