A test for the encoded-character extention.
authorTony Finch <dot@dot.at>
Fri, 8 Feb 2008 11:36:54 +0000 (11:36 +0000)
committerTony Finch <dot@dot.at>
Fri, 8 Feb 2008 11:36:54 +0000 (11:36 +0000)
test/scripts/0000-Basic/0427
test/stdout/0427

index 39e1655e5802e43204584e2097ba283b77c8f2eb..8613b2b777fa1828637be2e6da93768a4b9b2780 100644 (file)
@@ -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
index 6d93655ae85a16c7f3788493431182c49aeb8f02..7e70360e34f899625884d99d2b6bdf9ff43d1209 100644 (file)
@@ -259,6 +259,12 @@ if not header :matches "x-special1" "*\0*q" { discard; }
 No implicit keep
 ==========
 # Sieve filter
+require "encoded-character";
+if not header :matches "x-special1" "*${hex:00}*" { discard; }
+==========
+Implicit keep
+==========
+# Sieve filter
 if not header :matches "x-special2" "\\?*\\*" { discard; }
 ==========
 No implicit keep