X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=regression-tests.action;h=6564ceddf4d626beceb6424a529d8cf5edbba703;hp=bafc8907aa1d7f5fed64309df23b9a956e54a2bc;hb=3249adeb7a93de58f324aa46db8e19ed4124fde6;hpb=f02930f5dbc4fe015c3595081a2a6d0a6d1ba738 diff --git a/regression-tests.action b/regression-tests.action index bafc8907..6564cedd 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,5 +1,5 @@ ############################################################################# -# $Id: regression-tests.action,v 1.47 2012/11/11 12:40:53 fabiankeil Exp $ +# $Id: regression-tests.action,v 1.58 2014/11/20 15:29:36 fabiankeil Exp $ ############################################################################# # # This is a configuration file for Privoxy-Regression-Test @@ -10,7 +10,7 @@ # ############################################################################# # -# Copyright (c) 2007-2012 Fabian Keil +# Copyright (c) 2007-2014 Fabian Keil # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -27,14 +27,15 @@ ############################################################################# {{settings}} -for-privoxy-version=3.0.20 +for-privoxy-version=3.0.22 # Some dependencies Privoxy-Regression-Test should know about: # # Level 9 needs = config line user-manual\s+(\.?\.?/|[A-Za-z]:) +# Level 12 needs = feature status FEATURE_CGI_EDIT_ACTIONS Yes # Level 12 needs = config line enable-edit-actions\s+1 # Level 13 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE Yes -# Level 13 needs = config line keep-alive-timeout\s+[1-9]+ +# Level 13 needs = config line keep-alive-timeout\s+(2[1-9]+|[3-9]\d+|1\d{2,}) # Level 14 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE No # Level 15 needs = config line connection-sharing\s+0 # Level 16 needs = feature status FEATURE_CONNECTION_KEEP_ALIVE Yes @@ -44,6 +45,8 @@ for-privoxy-version=3.0.20 # Level 19 needs = feature status FEATURE_GRACEFUL_TERMINATION Yes # Level 20 needs = feature status FEATURE_TOGGLE Yes # Level 21 needs = feature status FEATURE_TOGGLE No +# Level 22 needs = config line enable-proxy-authentication-forwarding\s+0 +# Level 23 needs = config line enable-proxy-authentication-forwarding\s+1 ####################################################### # Enable taggers to activate the tests on demand @@ -604,12 +607,30 @@ TAG:^Host header other than the target host$ # Set Header = Keep-Alive: 20 # Expect Header = NO CHANGE # Level = 13 -TAG:^Pass Keep-Alive header$ +# Set Header = Keep-Alive: timeout=20, max=3 +# Expect Header = NO CHANGE +# Level = 13 +# Set Header = Keep-Alive: blah=fasel, timeout=20, max=3 +# Expect Header = NO CHANGE +# Level = 13 +# Set Header = Keep-Alive: timeuot=20, max=3 +# Expect Header = REMOVAL +# Level = 13 +# Set Header = Keep-Alive: twenty seconds please +# Expect Header = REMOVAL +# Level = 13 +TAG:^Parse Keep-Alive header$ {} # Set Header = Keep-Alive: 20 # Expect Header = REMOVAL # Level = 14 +# Set Header = Keep-Alive: timeout=20, max=3 +# Expect Header = REMOVAL +# Level = 14 +# Set Header = Keep-Alive: blah=fasel, timeout=20, max=3 +# Expect Header = REMOVAL +# Level = 14 TAG:^Keep-Alive header removal$ {} @@ -638,6 +659,18 @@ TAG:^Proxy-Connection removal$ # Expect Header = NO CHANGE TAG:^Max-Forwards header without TRACE method$ +{} +# Set Header = Proxy-Authorization: blafaseldieda +# Expect Header = REMOVAL +# Level = 22 +TAG:^Proxy-Authorization header removal$ + +{} +# Set Header = Proxy-Authorization: blafaseldieda +# Expect Header = Proxy-Authorization: blafaseldieda +# Level = 23 +TAG:^Proxy-Authorization header forwarding$ + ################################################################ # # Fairly dumb tests for Privoxy CGI pages. @@ -688,27 +721,49 @@ TAG:^Max-Forwards header without TRACE method$ # Expect Status Code = 404 # Level = 21 # Fetch Test = http://p.p/edit-actions +# Level = 12 # Fetch Test = http://p.p/eaa +# Level = 12 # Fetch Test = http://p.p/eau +# Level = 12 # Fetch Test = http://p.p/ear +# Level = 12 # Fetch Test = http://p.p/eal +# Level = 12 # Fetch Test = http://p.p/eafu +# Level = 12 # Fetch Test = http://p.p/eas +# Level = 12 # Fetch Test = http://p.p/easa +# Level = 12 # Fetch Test = http://p.p/easr +# Level = 12 # Fetch Test = http://p.p/eass +# Level = 12 # Fetch Test = http://p.p/edit-actions-for-url +# Level = 12 # Fetch Test = http://p.p/edit-actions-list +# Level = 12 # Fetch Test = http://p.p/edit-actions-submit +# Level = 12 # Fetch Test = http://p.p/edit-actions-url +# Level = 12 # Fetch Test = http://p.p/edit-actions-url-form +# Level = 12 # Fetch Test = http://p.p/edit-actions-add-url +# Level = 12 # Fetch Test = http://p.p/edit-actions-add-url-form +# Level = 12 # Fetch Test = http://p.p/edit-actions-remove-url +# Level = 12 # Fetch Test = http://p.p/edit-actions-remove-url-form +# Level = 12 # Fetch Test = http://p.p/edit-actions-section-add +# Level = 12 # Fetch Test = http://p.p/edit-actions-section-remove +# Level = 12 # Fetch Test = http://p.p/edit-actions-section-swap +# Level = 12 # Fetch Test = http://p.p/error-favicon.ico # Fetch Test = http://p.p/favicon.ico # Fetch Test = http://p.p/robots.txt @@ -723,26 +778,47 @@ TAG:^Max-Forwards header without TRACE method$ # Fetch Test = http://p.p/does-not-exist # Expect Status Code = 404 # Trusted CGI Request = http://p.p/eaa +# Level = 12 # Trusted CGI Request = http://p.p/eau +# Level = 12 # Trusted CGI Request = http://p.p/ear +# Level = 12 # Trusted CGI Request = http://p.p/eal +# Level = 12 # Trusted CGI Request = http://p.p/eafu +# Level = 12 # Trusted CGI Request = http://p.p/eas +# Level = 12 # Trusted CGI Request = http://p.p/easa +# Level = 12 # Trusted CGI Request = http://p.p/easr +# Level = 12 # Trusted CGI Request = http://p.p/eass +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-for-url +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-list +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-submit +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-url +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-url-form +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-add-url +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-add-url-form +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-remove-url +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-remove-url-form +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-section-add +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-section-remove +# Level = 12 # Trusted CGI Request = http://p.p/edit-actions-section-swap +# Level = 12 # Trusted CGI Request = http://p.p/send-stylesheet # The following tests depend on Privoxy being configured to deliver the user manual @@ -830,6 +906,7 @@ TAG:^Max-Forwards header without TRACE method$ # Method Test = MERGE # Method Test = BASELINE-CONTROL # Method Test = MKACTIVITY +# Method Test = PATCH # Method Test = PRIVOXY-REGRESSION-TEST-IN-THE-HOUSE # Expect Status Code = 400