From: Amos Jeffries Date: Tue, 28 Jul 2015 13:36:21 +0000 (-0700) Subject: Add specific unit tests for double-quote cases X-Git-Tag: M-staged-PR71~362^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a200cf301f123e9a7196dd883aa1a71952a90060;p=thirdparty%2Fsquid.git Add specific unit tests for double-quote cases --- diff --git a/test-suite/squidconf/regex b/test-suite/squidconf/regex index d0b1752e13..c22427a869 100644 --- a/test-suite/squidconf/regex +++ b/test-suite/squidconf/regex @@ -19,6 +19,13 @@ acl G dstdom_regex \.g...le\.com$ acl B browser ^Mozilla acl B browser ^Java/[0-9]+(\.[0-9]+)? +# double-quotes 'regression' from GNU regex library +refresh_pattern "foo 0 80% 20160 +refresh_pattern ["] 0 80% 20160 +refresh_pattern "foo\" 0 80% 20160 +refresh_pattern "foo["] 0 80% 20160 +refresh_pattern foo\" 0 80% 20160 + # invalid pattern - this whold abort acl foo browser *