X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9001-send-email.sh;h=4f6822f2c5d717edd20cb97e49fad3017d34897e;hb=7fec10b7f41fa32e71aa6377bd04cd7c6fb419e0;hp=1c4181022fdf59b49b4aed4be81230897d09b685;hpb=747bbff9b9583642cd8702b7b559757a6960df00;p=git.git diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 1c4181022..4f6822f2c 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -98,4 +98,14 @@ test_expect_success 'no patch was sent' ' ! test -e commandline ' +test_expect_success 'allow long lines with --no-validate' ' + git send-email \ + --from="Example " \ + --to=nobody@example.com \ + --smtp-server="$(pwd)/fake.sendmail" \ + --no-validate \ + $patches longline.patch \ + 2>errors +' + test_done