tests: Set EDITOR=: and VISUAL=: globally
This way we don't have to remember to set it for each test; and if we forget, we won't cause interactive editors to be spawned for non-interactive tests. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
55b7835e1b
commit
8ff99e7417
@ -94,7 +94,7 @@ test_expect_success \
|
||||
test_expect_success \
|
||||
'merge-setup part 4' \
|
||||
'echo "evil merge." >>file &&
|
||||
EDITOR=: VISUAL=: git commit -a --amend'
|
||||
git commit -a --amend'
|
||||
|
||||
test_expect_success \
|
||||
'Two lines blamed on A, one on B, two on B1, one on B2, one on A U Thor' \
|
||||
|
||||
Reference in New Issue
Block a user