Documentation/build-docdep.perl: generate sorted output
[git/debian.git] / t / t4110-apply-scan.sh
blob266302a1829da4a0e289987c7d572a0fb9cdbc73
1 #!/bin/sh
3 # Copyright (c) 2005 Junio C Hamano
4 # Copyright (c) 2005 Robert Fitzsimons
7 test_description='git apply test for patches which require scanning forwards and backwards.
11 TEST_PASSES_SANITIZE_LEAK=true
12 . ./test-lib.sh
14 test_expect_success 'git apply scan' '
15 git apply \
16 "$TEST_DIRECTORY/t4110/patch1.patch" \
17 "$TEST_DIRECTORY/t4110/patch2.patch" \
18 "$TEST_DIRECTORY/t4110/patch3.patch" \
19 "$TEST_DIRECTORY/t4110/patch4.patch" \
20 "$TEST_DIRECTORY/t4110/patch5.patch" &&
21 test_cmp new.txt "$TEST_DIRECTORY/t4110/expect"
24 test_done