git p4: Squash P4EDITOR in test harness
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>
Luke Diamand committed
Apr 24, 2012 at 09:33 UTC
1e3e7180a1bc0c7af7ad8ccaa45467f6ee92f2bd
1 file changed
+1
t/lib-git-p4.sh
+1
@@ -24,6 +24,7 @@ P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
24
25
export P4PORT=localhost:$P4DPORT
26
export P4CLIENT=client
27
+export P4EDITOR=:
28
29
db="$TRASH_DIRECTORY/db"
30
cli="$TRASH_DIRECTORY/cli"