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>
Luke Diamand committed
Apr 25, 2012 at 09:16 UTC
00855b656bf883c607a4adcd5bc7a76711e4b3a3
1 file changed
+1
-1
t/t9805-git-p4-skip-submit-edit.sh
+1
-1
@@ -91,7 +91,7 @@ test_expect_success 'no config, edited' '
91
cd "$git" &&
92
echo line >>file1 &&
93
git commit -a -m "change 5" &&
94
- EDITOR="\"$ed\"" git p4 submit &&
94
+ P4EDITOR="" EDITOR="\"$ed\"" git p4 submit &&
95
p4 changes //depot/... >wc &&
96
test_line_count = 5 wc
97
)