diff options
-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 |