From: Fabian Keil Date: Thu, 28 May 2009 21:38:13 +0000 (+0000) Subject: Two additional hide-if-modified-since{} tests created while debugging #2797798. X-Git-Tag: v_3_0_13~61 X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40actions-help-prefix%40HANDLE-AS-EMPTY-DOCUMENT?a=commitdiff_plain;h=dba93b8dd859e26c11de2ec40e61f788f94e4df0;p=privoxy.git Two additional hide-if-modified-since{} tests created while debugging #2797798. As it turns out they don't actually cause any problems, but at least in theory they could be edge cases and are thus test-worthy. --- diff --git a/regression-tests.action b/regression-tests.action index b9ed2cad..13a881f9 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,5 +1,5 @@ ############################################################################# -# $Id: regression-tests.action,v 1.23 2009/05/13 19:26:22 fabiankeil Exp $ +# $Id: regression-tests.action,v 1.24 2009/05/27 20:37:15 fabiankeil Exp $ ############################################################################# # # This is a configuration file for Privoxy-Regression-Test @@ -252,6 +252,8 @@ TAG:^hide-if-modified-since\{block\}$ # Expect Header = REMOVAL # Set Header = If-Modified-Since: Thu, 04 Oct 2007 09:56:35 GMT # Expect Header = SOME CHANGE +# Set Header = If-Modified-Since: Thu, 1 Jan 1970 00:00:00 GMT +# Expect Header = SOME CHANGE {+hide-if-modified-since{-60} -crunch-if-none-match} TAG:^hide-if-modified-since\{-60\}$ @@ -260,6 +262,8 @@ TAG:^hide-if-modified-since\{-60\}$ # Expect Header = REMOVAL # Set Header = If-Modified-Since: Thu, 04 Oct 2007 09:56:35 GMT # Expect Header = SOME CHANGE +# Set Header = If-Modified-Since: Wed, 31 Dec 1969 23:59:59 GMT +# Expect Header = SOME CHANGE {+hide-if-modified-since{+60} -crunch-if-none-match} TAG:^hide-if-modified-since\{\+60\}$