git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Capture substrings in ACL regex= . Bug 425.
[users/jgh/exim.git]
/
test
/
scripts
/
0000-Basic
/
0427
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