git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc20ebc
)
A test for the encoded-character extention.
author
Tony Finch
<dot@dot.at>
Fri, 8 Feb 2008 11:36:54 +0000
(11:36 +0000)
committer
Tony Finch
<dot@dot.at>
Fri, 8 Feb 2008 11:36:54 +0000
(11:36 +0000)
test/scripts/0000-Basic/0427
patch
|
blob
|
history
test/stdout/0427
patch
|
blob
|
history
diff --git
a/test/scripts/0000-Basic/0427
b/test/scripts/0000-Basic/0427
index 39e1655e5802e43204584e2097ba283b77c8f2eb..8613b2b777fa1828637be2e6da93768a4b9b2780 100644
(file)
--- 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
****
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
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 6d93655ae85a16c7f3788493431182c49aeb8f02..7e70360e34f899625884d99d2b6bdf9ff43d1209 100644
(file)
--- 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
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
if not header :matches "x-special2" "\\?*\\*" { discard; }
==========
No implicit keep