summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-11-23 10:13:45 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-11-23 10:13:45 (GMT)
commitde640c83e991622e5c2164535eee899b792c7feb (patch) (side-by-side diff)
tree91cddbb854d703d32b06c40a28380032e0b7ae53
parent36b203eaeb57c487d71a269744593061d0a7505d (diff)
downloadmailutils-de640c83e991622e5c2164535eee899b792c7feb.tar.gz
mailutils-de640c83e991622e5c2164535eee899b792c7feb.tar.bz2
Bugfix in libmailutils testsuite
* libmailutils/tests/decode2047.at: Deduce charset from the input.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libmailutils/tests/decode2047.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmailutils/tests/decode2047.at b/libmailutils/tests/decode2047.at
index b00ba57..701b9bf 100644
--- a/libmailutils/tests/decode2047.at
+++ b/libmailutils/tests/decode2047.at
@@ -21,7 +21,8 @@ dnl
m4_pushdef([TESTDEC2047],[
m4_pushdef([MU_TEST_GROUP],[Decode 2047])
m4_pushdef([MU_TEST_KEYWORDS],[decode2047 decode])
-m4_pushdef([MU_TEST_COMMAND],[decode2047 -p])
+m4_pushdef([MU_TEST_COMMAND],[decode2047 -p -c]dnl
+ m4_bpatsubst([$3],[=\?\([^?]+\)\?.*],[\1]))
MU_GENERIC_TEST([$1],[$2],[$3],[],[$4],[$5])
m4_popdef([MU_TEST_COMMAND])
m4_popdef([MU_TEST_KEYWORDS])

Return to:

Send suggestions and report system problems to the System administrator.