mingw: handle GITPERLLIB in t0021 in a Windows-compatible way
[git.git] / t / t4033-diff-patience.sh
blob113304dc596034ff9bfaac65b2ff896b6a181dca
1 #!/bin/sh
3 test_description='patience diff algorithm'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-diff-alternative.sh
8 test_expect_success '--ignore-space-at-eol with a single appended character' '
9 printf "a\nb\nc\n" >pre &&
10 printf "a\nbX\nc\n" >post &&
11 test_must_fail git diff --no-index \
12 --patience --ignore-space-at-eol pre post >diff &&
13 grep "^+.*X" diff
16 test_diff_frobnitz "patience"
18 test_diff_unique "patience"
20 test_done