]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5100-mailinfo.sh
mailinfo: allow stripping quoted CR without warning
[thirdparty/git.git] / t / t5100-mailinfo.sh
index 1ecefa381d9cf6406083db05145656ce217747c0..141b29f0319a606ceefce3a06cd26990a64c8f06 100755 (executable)
@@ -259,6 +259,12 @@ test_expect_success 'mailinfo warn CR in base64 encoded email' '
        check_quoted_cr_mail quoted-cr/0001 --quoted-cr=nowarn &&
        test_must_be_empty quoted-cr/0001.err &&
        check_quoted_cr_mail quoted-cr/0002 --quoted-cr=nowarn &&
+       test_must_be_empty quoted-cr/0002.err &&
+       cp quoted-cr/0001-expected.msg quoted-cr/0002-expected.msg &&
+       cp quoted-cr/0001-expected.patch quoted-cr/0002-expected.patch &&
+       check_quoted_cr_mail quoted-cr/0001 --quoted-cr=strip &&
+       test_must_be_empty quoted-cr/0001.err &&
+       check_quoted_cr_mail quoted-cr/0002 --quoted-cr=strip &&
        test_must_be_empty quoted-cr/0002.err
 '