projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a10b6a
)
git p4: fix unit tests
author
Luke Diamand
<luke@diamand.org>
Wed, 25 Apr 2012 08:16:54 +0000
(09:16 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Apr 2012 15:19:26 +0000
(08:19 -0700)
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>
t/t9805-git-p4-skip-submit-edit.sh
patch
|
blob
|
history
diff --git
a/t/t9805-git-p4-skip-submit-edit.sh
b/t/t9805-git-p4-skip-submit-edit.sh
index 4a72f7952278eb5a92e0575c5c5c15fbe61d57b0..353dcfbe09fec2c2a85427e3e5cb378b9a8318d8 100755
(executable)
--- a/
t/t9805-git-p4-skip-submit-edit.sh
+++ b/
t/t9805-git-p4-skip-submit-edit.sh
@@
-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
)