send-email: add test for Linux's get_maintainer.pl
commitd60be8acab06c34886338cbf98f7628284705979
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 8 Jan 2018 10:34:34 +0000 (8 11:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jan 2018 18:36:47 +0000 (8 10:36 -0800)
treede215f32934b31a5df832237dab40064c3057c07
parentc8f9d13dc6ddcb6c9e22584324c18b7d74e772ea
send-email: add test for Linux's get_maintainer.pl

We had a regression that broke Linux's get_maintainer.pl. Using
Mail::Address to parse email addresses fixed it, but let's protect
against future regressions.

Note that we need --cc-cmd to be relative because this option doesn't
accept spaces in script names (probably to allow --cc-cmd="executable
--option"), while --smtp-server needs to be absolute.

Patch-edited-by: Matthieu Moy <git@matthieu-moy.fr>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Matthieu Moy <git@matthieu-moy.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh