summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-03-02 23:33:59 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-03-02 23:40:08 +0200
commitbc61f890ce68761d7b713508cdb97cb08f058aa3 (patch)
treeda9e1dc9a4977af7d5bd4d0c9f5e120d05469ffe /testsuite
parent4d422ec9bf22cb45785ed7a17a60d0d7b2bb013b (diff)
downloadmailutils-bc61f890ce68761d7b713508cdb97cb08f058aa3.tar.gz
mailutils-bc61f890ce68761d7b713508cdb97cb08f058aa3.tar.bz2
Fix the dot filter decoding
* libmailutils/filter/dot.c (_dot_decoder): Don't emit extra newline at the "\n.\n" marker. * libmailutils/stream/stream.c (mu_stream_seterr): Don't treat ENOSYS as fatal error. * libmailutils/tests/dot.at: New file. * libmailutils/tests/testsuite.at: Include dot.at. * libmailutils/tests/Makefile.am: Add dot.at * testsuite/smtp-msg.at: Remove extra newline from the expected output. * testsuite/smtp-str.at: Likewise.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/smtp-msg.at1
-rw-r--r--testsuite/smtp-str.at1
2 files changed, 0 insertions, 2 deletions
diff --git a/testsuite/smtp-msg.at b/testsuite/smtp-msg.at
index 94fee75e4..689ce9e59 100644
--- a/testsuite/smtp-msg.at
+++ b/testsuite/smtp-msg.at
@@ -52,7 +52,6 @@ ENVELOPE TO: <gray@example.org>
4: Omnis enim res, quae dando non deficit,
5: dum habetur et non datur, nondum habetur,
6: quomodo habenda est.
- 7:
END OF MESSAGE
])
diff --git a/testsuite/smtp-str.at b/testsuite/smtp-str.at
index dffc9e3de..0940299ed 100644
--- a/testsuite/smtp-str.at
+++ b/testsuite/smtp-str.at
@@ -53,7 +53,6 @@ ENVELOPE TO: <gray@example.org>
4: Omnis enim res, quae dando non deficit,
5: dum habetur et non datur, nondum habetur,
6: quomodo habenda est.
- 7:
END OF MESSAGE
])

Return to:

Send suggestions and report system problems to the System administrator.