projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8942a2
)
git p4: Squash P4EDITOR in test harness
author
Luke Diamand
<luke@diamand.org>
Tue, 24 Apr 2012 08:33:20 +0000
(09:33 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Apr 2012 21:22:19 +0000
(14:22 -0700)
If P4EDITOR is set in the environment, test behavior could be
unpredictable. Set it explicitly.
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-git-p4.sh
patch
|
blob
|
history
diff --git
a/t/lib-git-p4.sh
b/t/lib-git-p4.sh
index b90986c2c98dcf34390d06bd149b62097771e39b..121e38002bc73807649ebcc5df2799f6f35a9c67 100644
(file)
--- a/
t/lib-git-p4.sh
+++ b/
t/lib-git-p4.sh
@@
-24,6
+24,7
@@
P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
export P4PORT=localhost:$P4DPORT
export P4CLIENT=client
+export P4EDITOR=:
db="$TRASH_DIRECTORY/db"
cli="$TRASH_DIRECTORY/cli"