summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-05-04 17:02:27 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-05-04 23:46:20 +0100
commited0512a1a151a4108d7fe309055219c2da3b2bbc (patch)
treea4d87b17e71328661eb324a8a04a2bf5d9473f86 /test
parent0368847fd98dcc3f6b757da53a86519bb16c9681 (diff)
I18N: new ${imapfolder_<sep>:<string>} expansion item. Bug 420
Diffstat (limited to 'test')
-rw-r--r--test/confs/42002
-rw-r--r--test/scripts/4200-International/420014
-rw-r--r--test/stdout/420012
3 files changed, 27 insertions, 1 deletions
diff --git a/test/confs/4200 b/test/confs/4200
index bce8e551f..c0bf41aa8 100644
--- a/test/confs/4200
+++ b/test/confs/4200
@@ -7,6 +7,8 @@ gecos_name = CALLER_NAME
# ----- Main settings -----
+headers_charset = UTF8
+
# ----- ACL -----
# End
diff --git a/test/scripts/4200-International/4200 b/test/scripts/4200-International/4200
index 48918b702..481a5053f 100644
--- a/test/scripts/4200-International/4200
+++ b/test/scripts/4200-International/4200
@@ -1,4 +1,4 @@
-# Internationalised mail: expansions
+# Internationalisation: expansions
#
# Sample strings taken from RFC3942
@@ -93,4 +93,16 @@ ${utf8_domain_from_alabel:russian.xn--b1abfaaepdrnnbgefbaDotcwatmq2g4l.com}
${utf8_domain_from_alabel:spanish.xn--PorqunopuedensimplementehablarenEspaol-fmd56a.com}
${utf8_domain_from_alabel:vietnamese.xn--TisaohkhngthchnitingVit-kjcr8268qyxafd2f1b9g.com}
+===========
+
+${imapfolder {Foo/Bar}}
+Foo.Bar
+
+${imapfolder {Foo/Bar} {.} {/}}
+Foo&AC8-Bar
+
+${imapfolder{Räksmörgås}}
+R&AOQ-ksm&APY-rg&AOU-s
+
+
****
diff --git a/test/stdout/4200 b/test/stdout/4200
index 1cfb7a9db..9e2c4bbc5 100644
--- a/test/stdout/4200
+++ b/test/stdout/4200
@@ -66,4 +66,16 @@
> spanish.PorquénopuedensimplementehablarenEspañol.com
> vietnamese.TạisaohọkhôngthểchỉnóitiếngViệt.com
>
+> ===========
+>
+> Foo.Bar
+> Foo.Bar
+>
+> Foo&AC8-Bar
+> Foo&AC8-Bar
+>
+> R&AOQ-ksm&APY-rg&AOU-s
+> R&AOQ-ksm&APY-rg&AOU-s
+>
+>
>