Skip to content

Commit

Permalink
git p4: fix unit tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luke Diamand authored and Junio C Hamano committed Apr 25, 2012
1 parent 6a10b6a commit 00855b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t9805-git-p4-skip-submit-edit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 00855b6

Please sign in to comment.