#############################################################################
-# $Id: regression-tests.action,v 1.68 2017/01/23 13:06:19 fabiankeil Exp $
-#############################################################################
#
# This is a configuration file for Privoxy-Regression-Test
# (included in the source tarball's tools directory).
#
#############################################################################
#
-# Copyright (c) 2007-2017 Fabian Keil <fk@fabiankeil.de>
+# Copyright (c) 2007-2018 Fabian Keil <fk@fabiankeil.de>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# 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
# 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
# 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
# Level = 12
# 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