From: Luke Diamand Date: Tue, 24 Apr 2012 08:33:20 +0000 (+0100) Subject: git p4: Squash P4EDITOR in test harness X-Git-Tag: v1.7.11-rc0~26^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e3e7180a1bc0c7af7ad8ccaa45467f6ee92f2bd;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh index b90986c2c..121e38002 100644 --- 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"