From: Fabian Keil Date: Thu, 24 Apr 2008 16:31:08 +0000 (+0000) Subject: - Add some more tests for cgi_show_status(). X-Git-Tag: v_3_0_9~141 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=39f4abc39d4006b0a3d9443ec6dec37cf3c194d2 - Add some more tests for cgi_show_status(). - Drop a hint about Privoxy-Regression-Test coming bundled with the source tarball. --- diff --git a/regression-tests.action b/regression-tests.action index c6d83ca8..caa3af90 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,8 +1,9 @@ ############################################################################# -# $Id: regression-tests.action,v 1.63 2008/03/28 19:03:49 fk Exp $ +# $Id: regression-tests.action,v 1.65 2008/04/24 16:28:32 fk Exp $ ############################################################################# # -# This is a configuration file for Privoxy-Regression-Test. +# This is a configuration file for Privoxy-Regression-Test +# (included in the source tarball's tools directory). # # After referencing it in your Privoxy configuration both Privoxy and # Privoxy-Regression-Test should be good to go. @@ -476,6 +477,17 @@ TAG:^Max-Forwards header without TRACE method$ # Fetch Test = http://p.p/die # Expect Status Code = 404 # Fetch Test = http://p.p/show-status +# Fetch Test = http://config.privoxy.org/show-status?file=actions&index=0 +# Fetch Test = http://config.privoxy.org/show-status?file=filter&index=0 +# XXX: for the invalid ones we probably shouldn't return status code 200. +# Fetch Test = http://config.privoxy.org/show-status?file=actions&index=100 +# Fetch Test = http://config.privoxy.org/show-status?file=actions&index=NaN +# Fetch Test = http://config.privoxy.org/show-status?file=actions +# Fetch Test = http://config.privoxy.org/show-status?file=filter&index=100 +# Fetch Test = http://config.privoxy.org/show-status?file=filter&index=NaN +# Fetch Test = http://config.privoxy.org/show-status?file=filter +# 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 # Fetch Test = http://p.p/show-request # Fetch Test = http://p.p/show-url-info