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
c7d81e3
..
98dc63c
100644
(file)
--- a/
regression-tests.action
+++ b/
regression-tests.action
@@
-1,5
+1,5
@@
#############################################################################
#############################################################################
-# $Id: regression-tests.action,v 1.1
4 2008/07/31 04:47:33 ler762
Exp $
+# $Id: regression-tests.action,v 1.1
8 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,7
+27,7
@@
#############################################################################
{{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:
#
@@
-315,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
@@
-408,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$