3 test_description
='ignore CR in CRLF sequence while computing similiarity'
7 test_expect_success setup
'
9 cat "$TEST_DIRECTORY"/t0022-crlf-rename.sh >sample &&
13 git commit -m Initial &&
15 sed -e "s/\$/
/" "$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas &&
20 git commit -a -m Second
24 test_expect_success
'diff -M' '
26 git diff-tree -M -r --name-status HEAD^ HEAD |
27 sed -e "s/R[0-9]*/RNUM/" >actual &&
28 echo "RNUM sample elpmas" >expect &&
29 test_cmp expect actual