t7005: stop abusing --exec-path
We want the editors in this test on PATH, so put them there. Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
83d64df8d5
commit
a9c4141abb
@@ -65,7 +65,7 @@ do
|
||||
;;
|
||||
esac
|
||||
test_expect_success "Using $i" '
|
||||
git --exec-path=. commit --amend &&
|
||||
PATH="$PWD:$PATH" git commit --amend &&
|
||||
test_commit_message HEAD expect
|
||||
'
|
||||
done
|
||||
@@ -85,7 +85,7 @@ do
|
||||
;;
|
||||
esac
|
||||
test_expect_success "Using $i (override)" '
|
||||
git --exec-path=. commit --amend &&
|
||||
PATH="$PWD:$PATH" git commit --amend &&
|
||||
test_commit_message HEAD expect
|
||||
'
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user