projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore two tests that are only correct if
[privoxy.git]
/
regression-tests.action
diff --git
a/regression-tests.action
b/regression-tests.action
index
0f2d843
..
98dc63c
100644
(file)
--- a/
regression-tests.action
+++ b/
regression-tests.action
@@
-1,5
+1,5
@@
#############################################################################
#############################################################################
-# $Id: regression-tests.action,v 1.
71 2008/05/26 07:07:20 fk
Exp $
+# $Id: regression-tests.action,v 1.
18 2008/09/20 10:11:13 fabiankeil
Exp $
#############################################################################
#
# This is a configuration file for Privoxy-Regression-Test
#############################################################################
#
# This is a configuration file for Privoxy-Regression-Test
@@
-27,11
+27,11
@@
#############################################################################
{{settings}}
#############################################################################
{{settings}}
-for-privoxy-version=3.0.
9
+for-privoxy-version=3.0.
11
# Some dependencies Privoxy-Regression-Test should know about:
#
# Some dependencies Privoxy-Regression-Test should know about:
#
-# Level 9 needs = config line user-manual\s+
/
+# Level 9 needs = config line user-manual\s+
(/|[A-Za-z]:)
# Level 12 needs = config line enable-edit-actions\s+1
#######################################################
# Level 12 needs = config line enable-edit-actions\s+1
#######################################################
@@
-46,6
+46,7
@@
for-privoxy-version=3.0.9
}
config.privoxy.org/
p.p/
}
config.privoxy.org/
p.p/
+127.0.0.1/
{-hide-user-agent}
TAG:^User-Agent: Privoxy-Regression-Test
{-hide-user-agent}
TAG:^User-Agent: Privoxy-Regression-Test
@@
-314,22
+315,29
@@
TAG:^crunch-outgoing-cookies$
TAG:^session-cookies-only$
#######################################################
TAG:^session-cookies-only$
#######################################################
-# Test
hide-forwarded-for-headers
+# Test
change-x-forwarded-for
#######################################################
#######################################################
+# Set Header = X-Forwarded-For: 10.0.0.1
+# Expect Header = NO CHANGE
+{\
+ -change-x-forwarded-for \
+}
+TAG:^-change-x-forwarded-for$
+
# Set Header = X-Forwarded-For: 10.0.0.1
# Expect Header = REMOVAL
{\
# Set Header = X-Forwarded-For: 10.0.0.1
# Expect Header = REMOVAL
{\
- +
hide-forwarded-for-headers
\
+ +
change-x-forwarded-for{block}
\
}
}
-TAG:^
hide-forwarded-for-headers
$
+TAG:^
change-x-forwarded-for\{block\}
$
# Set Header = X-Forwarded-For: 10.0.0.1
# Set Header = X-Forwarded-For: 10.0.0.1
-# Expect Header =
NO
CHANGE
+# Expect Header =
SOME
CHANGE
{\
{\
-
-hide-forwarded-for-headers
\
+
+change-x-forwarded-for{add}
\
}
}
-TAG:^
-hide-forwarded-for-headers
$
+TAG:^
change-x-forwarded-for\{add\}
$
#######################################################
# Test hide-from-header
#######################################################
# Test hide-from-header
@@
-407,10
+415,14
@@
TAG:^filter\{banners-by-size\}$
}
TAG:^no-content-filter$
}
TAG:^no-content-filter$
+# XXX: We should be able to check for
+# FEATURE_CONNECTION_KEEP_ALIVE and act accordingly.
# Set Header = Connection: keep-alive
# Expect Header = Connection: close
# Set Header = Connection: keep-alive
# Expect Header = Connection: close
+# Ignore = Yes
# Set Header = Connection:
# Expect Header = Connection: close
# Set Header = Connection:
# Expect Header = Connection: close
+# Ignore = Yes
{}
TAG:^Connection: close$
{}
TAG:^Connection: close$
@@
-493,8
+505,11
@@
TAG:^Max-Forwards header without TRACE method$
# Fetch Test = http://p.p/show-url-info
# Fetch Test = http://p.p/show-url-info?url=www.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=http:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info
# Fetch Test = http://p.p/show-url-info?url=www.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=http:%2F%2Fwww.privoxy.org%2F
+# Fetch Test = http://p.p/show-url-info?url=HTTp:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=https:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=https:%2F%2Fwww.privoxy.org%2F
+# Fetch Test = http://p.p/show-url-info?url=HtTps:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=ftp:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=ftp:%2F%2Fwww.privoxy.org%2F
+# Fetch Test = http://p.p/show-url-info?url=FTp:%2F%2Fwww.privoxy.org%2F
# Fetch Test = http://p.p/show-url-info?url=
# Fetch Test = http://p.p/show-url-info?url=%2F
# Fetch Test = http://p.p/toggle
# Fetch Test = http://p.p/show-url-info?url=
# Fetch Test = http://p.p/show-url-info?url=%2F
# Fetch Test = http://p.p/toggle
@@
-694,6
+709,13
@@
www.blocked-request.example/blocked-request
{+block}
www.blocked-request.example/blocked-request-with-no-reason-specified
{+block}
www.blocked-request.example/blocked-request-with-no-reason-specified
+# Some domain pattern tests
+#
+{+block{domain pattern test}}
+# Blocked URL = http://domain-pattern-test.example/
+# Blocked URL = http://domain-pattern-test.example.org/
+domain-pattern-test.example.
+
# Just in case there is no white-space fuzzer in the house ...
#
# Set Header = X-LWS-Test: no superfluous white space here
# Just in case there is no white-space fuzzer in the house ...
#
# Set Header = X-LWS-Test: no superfluous white space here