diff options
author | Tony Finch <dot@dot.at> | 2008-02-08 11:36:54 +0000 |
---|---|---|
committer | Tony Finch <dot@dot.at> | 2008-02-08 11:36:54 +0000 |
commit | 9befc1368218f1662fd3e876b514262a18bfb9a1 (patch) | |
tree | 4be33c9f5d2d214d9c2501bc656d92776c286d12 /test | |
parent | fc20ebcb8d1efe5f102ae30c6c5f6b1acfdabe1a (diff) |
A test for the encoded-character extention.
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/0000-Basic/0427 | 7 | ||||
-rw-r--r-- | test/stdout/0427 | 6 |
2 files changed, 13 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 diff --git a/test/stdout/0427 b/test/stdout/0427 index 6d93655ae..7e70360e3 100644 --- a/test/stdout/0427 +++ b/test/stdout/0427 @@ -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 |