X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Ftests%2Frepl%2Ftest-decode-addr;fp=test%2Ftests%2Frepl%2Ftest-decode-addr;h=145957c0003f60e72e827e51f4c6ff833809f8f4;hb=09f632a7c9e4eea0a02c7ec0f66c8a2f9b10aed7;hp=0000000000000000000000000000000000000000;hpb=2a2c5381369629d0f068681571bc667215e44742;p=mmh diff --git a/test/tests/repl/test-decode-addr b/test/tests/repl/test-decode-addr new file mode 100644 index 0000000..145957c --- /dev/null +++ b/test/tests/repl/test-decode-addr @@ -0,0 +1,71 @@ +#!/bin/sh +###################################################### +# +# Test that repl and repl -g decode recipient addrs +# +###################################################### + +. "$MH_TEST_COMMON" + + +# create message to reply to + +msgfile=`mhpath b +inbox` +cat >"$msgfile" < +To: bob@example.com +Cc: =?UTF-8?Q?K=C3=A4the?= +Subject: repl addr decode +Date: Mon, 18 Apr 2016 08:36:14 +0200 +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" +Message-ID: <1as2n8-1Q9-00@deseo.home.schnalke.org> + +foo +EOF + + +# create the reply draft +runandcheck 'repl -nocc all -whatnow true l +inbox' < +Cc: +Fcc: +sent +Subject: Re: repl addr decode +In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org> +References: <1as2n8-1Q9-00@deseo.home.schnalke.org> +Comments: In-reply-to Jürgen + message dated "Mon, 18 Apr 2016 08:36:14 +0200." +-------- +[2016-04-18 08:36] Jürgen +> +> part text/plain 4 +> foo +! + + + +# create the group reply draft +runandcheck 'repl -group -nocc me -whatnow true l +inbox' < +Cc: bob@example.com, Käthe +Fcc: +sent +Subject: Re: repl addr decode +In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org> +References: <1as2n8-1Q9-00@deseo.home.schnalke.org> +Comments: In-reply-to Jürgen + message dated "Mon, 18 Apr 2016 08:36:14 +0200." +-------- +[2016-04-18 08:36] Jürgen +> +> part text/plain 4 +> foo +! +