From: Bryan Donlan Date: Sun, 4 May 2008 05:37:55 +0000 (-0400) Subject: Use test_set_editor in t9001-send-email.sh X-Git-Tag: v1.5.6-rc0~57^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f0475c308625fb9e4cbbad8dc665983571cc5cf;p=git.git Use test_set_editor in t9001-send-email.sh Signed-off-by: Bryan Donlan Signed-off-by: Junio C Hamano --- diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 030f66cb7..0a6578557 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -144,10 +144,7 @@ test_expect_success 'setup fake editor' ' chmod +x fake-editor ' -FAKE_EDITOR="$(pwd)/fake-editor" -export FAKE_EDITOR -GIT_EDITOR='"$FAKE_EDITOR"' -export GIT_EDITOR +test_set_editor "$(pwd)/fake-editor" test_expect_success '--compose works' ' clean_fake_sendmail &&