From: Fabian Keil Date: Thu, 7 Mar 2013 14:09:20 +0000 (+0000) Subject: Add tests for enable-proxy-authentication-forwarding X-Git-Tag: v_3_0_21~10 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=963491c935984f4b22514e81b050cdc9b8a1760a Add tests for enable-proxy-authentication-forwarding --- diff --git a/regression-tests.action b/regression-tests.action index bafc8907..f5d2c6bd 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.48 2012/11/11 12:42:00 fabiankeil Exp $ ############################################################################# # # This is a configuration file for Privoxy-Regression-Test @@ -27,7 +27,7 @@ ############################################################################# {{settings}} -for-privoxy-version=3.0.20 +for-privoxy-version=3.0.21 # Some dependencies Privoxy-Regression-Test should know about: # @@ -44,6 +44,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 @@ -638,6 +640,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.