projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a668d3f
)
Add regression tests for pcre host patterns
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Dec 2020 10:10:53 +0000
(11:10 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 14 Dec 2020 07:49:16 +0000
(08:49 +0100)
regression-tests.action
patch
|
blob
|
history
diff --git
a/regression-tests.action
b/regression-tests.action
index
9393a0f
..
1307c0e
100644
(file)
--- a/
regression-tests.action
+++ b/
regression-tests.action
@@
-25,7
+25,7
@@
#############################################################################
{{settings}}
#############################################################################
{{settings}}
-for-privoxy-version=3.0.2
7
+for-privoxy-version=3.0.2
9
# Some dependencies Privoxy-Regression-Test should know about:
#
# Some dependencies Privoxy-Regression-Test should know about:
#
@@
-47,6
+47,7
@@
for-privoxy-version=3.0.27
# Level 23 needs = config line enable-proxy-authentication-forwarding\s+1
# Level 24 needs = feature status FEATURE_CLIENT_TAGS Yes
# Level 25 needs = feature status FEATURE_HTTPS_INSPECTION No
# Level 23 needs = config line enable-proxy-authentication-forwarding\s+1
# Level 24 needs = feature status FEATURE_CLIENT_TAGS Yes
# Level 25 needs = feature status FEATURE_HTTPS_INSPECTION No
+# Level 26 needs = feature status FEATURE_PCRE_HOST_PATTERNS Yes
#######################################################
# Enable taggers to activate the tests on demand
#######################################################
# Enable taggers to activate the tests on demand
@@
-1112,3
+1113,11
@@
redirect2.example.net/
{+delay-response{1}}
# Fetch Test = http://config.privoxy.org/show-url-info?url=http%3A%2F%2Fwww.example.com%2Fprivoxy-test-delay-response
config.privoxy.org/show-url-info\?url=http%3A%2F%2Fwww\.example\.com%2Fprivoxy-test-delay-response
{+delay-response{1}}
# Fetch Test = http://config.privoxy.org/show-url-info?url=http%3A%2F%2Fwww.example.com%2Fprivoxy-test-delay-response
config.privoxy.org/show-url-info\?url=http%3A%2F%2Fwww\.example\.com%2Fprivoxy-test-delay-response
+
+{+block{Block with pcre host pattern}}
+# Blocked URL = http://aaa.example.org/
+# Level = 26
+PCRE-HOST-PATTERN:^a{3}\.example\.org$
+# Blocked URL = http://bbb.example.org/
+# Level = 26
+PCRE-HOST-PATTERN:^(bbb|ccc|ddd)\.example\.org$