3 test_description
='apply a patch that is larger than the preimage'
5 TEST_PASSES_SANITIZE_LEAK
=true
31 test_expect_success setup
'
35 sed -e "s/1/11/" -e "s/999999/9/" -e "s/H/HH/" <G >F &&
37 sed -e "/^\$/d" <G >F &&
42 test_expect_success
'apply should fail gracefully' '
43 test_must_fail git apply --index patch &&
44 test_path_is_missing .git/index.lock