git p4: fix unit tests
The submit-edit tests relied on P4EDITOR being unset. Set it explicitly to an empty string. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6a10b6aa1e
commit
00855b656b
@ -91,7 +91,7 @@ test_expect_success 'no config, edited' '
|
||||
cd "$git" &&
|
||||
echo line >>file1 &&
|
||||
git commit -a -m "change 5" &&
|
||||
EDITOR="\"$ed\"" git p4 submit &&
|
||||
P4EDITOR="" EDITOR="\"$ed\"" git p4 submit &&
|
||||
p4 changes //depot/... >wc &&
|
||||
test_line_count = 5 wc
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user