diff options
Diffstat (limited to 'third_party/git/t/t7514-commit-patch.sh')
-rwxr-xr-x | third_party/git/t/t7514-commit-patch.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/third_party/git/t/t7514-commit-patch.sh b/third_party/git/t/t7514-commit-patch.sh deleted file mode 100755 index 998a2103c744..000000000000 --- a/third_party/git/t/t7514-commit-patch.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -test_description='hunk edit with "commit -p -m"' -. ./test-lib.sh - -if ! test_have_prereq PERL -then - skip_all="skipping '$test_description' tests, perl not available" - test_done -fi - -test_expect_success 'setup (initial)' ' - echo line1 >file && - git add file && - git commit -m commit1 -' - -test_expect_success 'edit hunk "commit -p -m message"' ' - test_when_finished "rm -f editor_was_started" && - rm -f editor_was_started && - echo more >>file && - echo e | env GIT_EDITOR=": >editor_was_started" git commit -p -m commit2 file && - test -r editor_was_started -' - -test_expect_success 'edit hunk "commit --dry-run -p -m message"' ' - test_when_finished "rm -f editor_was_started" && - rm -f editor_was_started && - echo more >>file && - echo e | env GIT_EDITOR=": >editor_was_started" git commit -p -m commit3 file && - test -r editor_was_started -' - -test_done |