From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 6 Nov 2011 11:45:51 +0000 (+0000)
Subject: Properly deal with FEATURE_TOGGLE being disabled
X-Git-Tag: v_3_0_18~41
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=dded6cbe767a688308138925b963a7474f350131;p=privoxy.git

Properly deal with FEATURE_TOGGLE being disabled
---

diff --git a/regression-tests.action b/regression-tests.action
index fe0f9df7..0d47c11b 100644
--- a/regression-tests.action
+++ b/regression-tests.action
@@ -1,5 +1,5 @@
 #############################################################################
-# $Id: regression-tests.action,v 1.38 2011/10/30 16:21:19 fabiankeil Exp $
+# $Id: regression-tests.action,v 1.39 2011/10/30 16:23:22 fabiankeil Exp $
 #############################################################################
 #
 # This is a configuration file for Privoxy-Regression-Test
@@ -44,6 +44,8 @@ for-privoxy-version=3.0.18
 # Level 17 needs = feature status FEATURE_PTHREAD 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
 
 #######################################################
 # Enable taggers to activate the tests on demand
@@ -593,7 +595,12 @@ TAG:^Max-Forwards header without TRACE method$
 # Fetch Test = http://p.p/show-url-info?url=FTp:%2F%2Fwww.privoxy.org%2F
 # Fetch Test = http://p.p/show-url-info?url=
 # Fetch Test = http://p.p/show-url-info?url=%2F
+# Depends on FEATURE_TOGGLE
 # Fetch Test = http://p.p/toggle
+# Level = 20
+# Fetch Test = http://p.p/toggle
+# Expect Status Code = 404
+# Level = 21
 # Fetch Test = http://p.p/edit-actions
 # Fetch Test = http://p.p/eaa
 # Fetch Test = http://p.p/eau