diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 1c4181022fdf59b49b4aed4be81230897d09b685..4f6822f2c5d717edd20cb97e49fad3017d34897e 100755 (executable)
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
! test -e commandline
'
+test_expect_success 'allow long lines with --no-validate' '
+ git send-email \
+ --from="Example <nobody@example.com>" \
+ --to=nobody@example.com \
+ --smtp-server="$(pwd)/fake.sendmail" \
+ --no-validate \
+ $patches longline.patch \
+ 2>errors
+'
+
test_done