3 # Copyright (c) 2009 Stephen Boyd
6 test_description
='git apply --build-fake-ancestor handling.'
8 TEST_PASSES_SANITIZE_LEAK
=true
11 test_expect_success
'setup' '
15 test_commit 3 sub/3.t &&
19 test_expect_success
'apply --build-fake-ancestor' '
25 git apply --build-fake-ancestor 1.ancestor 1.patch
28 test_expect_success
'apply --build-fake-ancestor in a subdirectory' '
36 git apply --build-fake-ancestor 3.ancestor ../3.patch &&
39 git apply --build-fake-ancestor 3.ancestor 3.patch &&
40 test_cmp sub/3.ancestor 3.ancestor