From: Luke Diamand Date: Wed, 25 Apr 2012 08:16:54 +0000 (+0100) Subject: git p4: fix unit tests X-Git-Tag: v1.7.11-rc0~26^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00855b656bf883c607a4adcd5bc7a76711e4b3a3;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t9805-git-p4-skip-submit-edit.sh b/t/t9805-git-p4-skip-submit-edit.sh index 4a72f7952..353dcfbe0 100755 --- 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 )