X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=regression-tests.action;h=4582cc6a981c529a216891f554386b872f07211c;hp=3f6140793ef21e352ab7feda4fe45ce2a2b3b9d4;hb=b374496daac41b610b0c0d4b2367efbf41880554;hpb=3f94a1e697feb46fdbb33dd63dd48e0f16942276 diff --git a/regression-tests.action b/regression-tests.action index 3f614079..4582cc6a 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,6 +1,4 @@ ############################################################################# -# $Id: regression-tests.action,v 1.51 2014/02/10 14:43:03 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-2013 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,25 +25,27 @@ ############################################################################# {{settings}} -for-privoxy-version=3.0.21 +for-privoxy-version=3.0.27 # 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 # Level 16 needs = config line connection-sharing\s+1 -# Level 17 needs = feature status FEATURE_PTHREAD Yes +# 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 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 ####################################################### # Enable taggers to activate the tests on demand @@ -328,6 +328,7 @@ TAG:^hide-if-modified-since\{-60\}$ # Expect Header = SOME CHANGE # Set Header = If-Modified-Since: Wed, 31 Dec 1969 23:59:59 GMT # Expect Header = SOME CHANGE +# Level = 17 TAG:^hide-if-modified-since\{\+60\}$ {+hide-if-modified-since{60} -crunch-if-none-match} @@ -676,7 +677,7 @@ TAG:^Proxy-Authorization header forwarding$ # # These are mainly useful for checking for memory leaks # with Valgrind or whether or not the user manual is installed -# correctly and are unlikely to actually detect any +# correctly. # # Note that if "Expect Status Code" is missing, 200 is implied. # @@ -702,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,34 +722,66 @@ TAG:^Proxy-Authorization header forwarding$ # 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 # Fetch Test = http://p.p/send-banner +# Trusted CGI Request = http://p.p/send-stylesheet # Fetch Test = http://p.p/send-stylesheet +# Expect Status Code = 403 # Fetch Test = http://p.p/t # Fetch Test = http://p.p/url-info-osd.xml +# 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 # Expect Status Code = 302 @@ -755,26 +789,47 @@ TAG:^Proxy-Authorization header forwarding$ # 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 @@ -862,6 +917,7 @@ TAG:^Proxy-Authorization header forwarding$ # 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