]>
Commit | Line | Data |
---|---|---|
debb9d84 RF |
1 | #!/bin/sh |
2 | # | |
3 | # Copyright (c) 2005 Junio C Hamano | |
4 | # Copyright (c) 2005 Robert Fitzsimons | |
5 | # | |
6 | ||
5be60078 | 7 | test_description='git apply test for patches which require scanning forwards and backwards. |
debb9d84 RF |
8 | |
9 | ' | |
10 | . ./test-lib.sh | |
11 | ||
ac2e28c0 JH |
12 | test_expect_success 'git apply scan' ' |
13 | git apply \ | |
14 | "$TEST_DIRECTORY/t4110/patch1.patch" \ | |
15 | "$TEST_DIRECTORY/t4110/patch2.patch" \ | |
16 | "$TEST_DIRECTORY/t4110/patch3.patch" \ | |
17 | "$TEST_DIRECTORY/t4110/patch4.patch" \ | |
18 | "$TEST_DIRECTORY/t4110/patch5.patch" && | |
19 | test_cmp new.txt "$TEST_DIRECTORY/t4110/expect" | |
20 | ' | |
debb9d84 RF |
21 | |
22 | test_done |