X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=regression-tests.action;h=ae056a9d7a582d2c060f9d245412a78ade59fc02;hp=fbf14201e4324a29240057d0eef0a54946077e38;hb=8750ec0ce80971f066c8124774bd82d9f068c4c0;hpb=091ea1725359bbcec12c01f510f71774b4dbf3be diff --git a/regression-tests.action b/regression-tests.action index fbf14201..ae056a9d 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,6 +1,4 @@ ############################################################################# -# $Id: regression-tests.action,v 1.65 2016/09/19 14:16:42 fabiankeil Exp $ -############################################################################# # # This is a configuration file for Privoxy-Regression-Test # (included in the source tarball's tools directory). @@ -10,7 +8,7 @@ # ############################################################################# # -# Copyright (c) 2007-2016 Fabian Keil +# Copyright (c) 2007-2018 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,7 +25,7 @@ ############################################################################# {{settings}} -for-privoxy-version=3.0.25 +for-privoxy-version=3.0.27 # Some dependencies Privoxy-Regression-Test should know about: # @@ -43,8 +41,8 @@ for-privoxy-version=3.0.25 # Level 17 needs = feature status FEATURE_64_BIT_TIME_T Yes # Level 18 needs = feature status FEATURE_GRACEFUL_TERMINATION No # 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 20 needs = config line enable-remote-toggle\s+1 +# Level 21 needs = config line enable-remote-toggle\s+0 # Level 22 needs = config line enable-proxy-authentication-forwarding\s+0 # Level 23 needs = config line enable-proxy-authentication-forwarding\s+1 # Level 24 needs = feature status FEATURE_CLIENT_TAGS Yes @@ -705,6 +703,7 @@ TAG:^Proxy-Authorization header forwarding$ # Fetch Test = http://config.privoxy.org/show-status?file=invalid # Fetch Test = http://config.privoxy.org/show-status?file=trust # Fetch Test = http://p.p/show-version +# Expect Status Code = 404 # Fetch Test = http://p.p/show-request # Fetch Test = http://p.p/show-url-info # Fetch Test = http://p.p/show-url-info?url=www.privoxy.org%2F @@ -720,51 +719,73 @@ TAG:^Proxy-Authorization header forwarding$ # Fetch Test = http://p.p/toggle # Level = 20 # Fetch Test = http://p.p/toggle -# Expect Status Code = 404 +# Expect Status Code = 403 # Level = 21 # Fetch Test = http://p.p/edit-actions +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eaa +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eau +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/ear +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eal +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eafu +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eas +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/easa +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/easr +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/eass +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-for-url +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-list # Level = 12 # Fetch Test = http://p.p/edit-actions-submit +# Expect Status Code = 403 # Level = 12 +# Expect Status Code = 403 # Fetch Test = http://p.p/edit-actions-url +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-url-form +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-add-url +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-add-url-form +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-remove-url +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-remove-url-form +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-section-add +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-section-remove +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/edit-actions-section-swap +# Expect Status Code = 403 # Level = 12 # Fetch Test = http://p.p/error-favicon.ico # Fetch Test = http://p.p/favicon.ico @@ -775,7 +796,13 @@ TAG:^Proxy-Authorization header forwarding$ # Expect Status Code = 403 # Fetch Test = http://p.p/t # Fetch Test = http://p.p/url-info-osd.xml -# Trusted CGI Request = http://p.p/client-tags +# Fetch Test = http://p.p/client-tags +# Level = 24 +# Trusted CGI Request = http://p.p/toggle-client-tag +# Expect Status Code = 302 +# Level = 24 +# Fetch Test = http://p.p/toggle-client-tag +# Expect Status Code = 403 # Level = 24 # Trusted CGI Request = http://p.p/edit-actions