summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorTony Finch <dot@dot.at>2008-02-08 11:36:54 +0000
committerTony Finch <dot@dot.at>2008-02-08 11:36:54 +0000
commit9befc1368218f1662fd3e876b514262a18bfb9a1 (patch)
tree4be33c9f5d2d214d9c2501bc656d92776c286d12 /test/scripts
parentfc20ebcb8d1efe5f102ae30c6c5f6b1acfdabe1a (diff)
A test for the encoded-character extention.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/04277
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0427 b/test/scripts/0000-Basic/0427
index 39e1655e5..8613b2b77 100644
--- a/test/scripts/0000-Basic/0427
+++ b/test/scripts/0000-Basic/0427
@@ -311,6 +311,13 @@ exim -bf test-data <aux-fixed/TESTNUM.message
****
catwrite test-data
# Sieve filter
+require "encoded-character";
+if not header :matches "x-special1" "*${hex:00}*" { discard; }
+****
+exim -bf test-data <aux-fixed/TESTNUM.message
+****
+catwrite test-data
+# Sieve filter
if not header :matches "x-special2" "\\?*\\*" { discard; }
****
exim -bf test-data <aux-fixed/TESTNUM.message