Git fork

t9001: use older Getopt::Long boolean prefix '--no' rather than '--no-'

Since dbf5e1e9, the '--no-validate' option is a Getopt::Long boolean
option. The '--no-' prefix (as in --no-validate) for boolean options
is not supported in Getopt::Long version 2.32 which was released with
Perl 5.8.0. This version only supports '--no' as in '--novalidate'.
More recent versions of Getopt::Long, such as version 2.34, support
either prefix. So use the older form in the tests.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

authored by

Brandon Casey and committed by
Shawn O. Pearce
3fee1fe8 e782e12f

+1 -1
+1 -1
t/t9001-send-email.sh
··· 109 109 --from="Example <nobody@example.com>" \ 110 110 --to=nobody@example.com \ 111 111 --smtp-server="$(pwd)/fake.sendmail" \ 112 - --no-validate \ 112 + --novalidate \ 113 113 $patches longline.patch \ 114 114 2>errors 115 115 '