]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add specific unit tests for double-quote cases
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 28 Jul 2015 13:36:21 +0000 (06:36 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 28 Jul 2015 13:36:21 +0000 (06:36 -0700)
test-suite/squidconf/regex

index d0b1752e1327ba253fb13f7338cd285ddb28564d..c22427a8695499ac35b120aedb80967428756494 100644 (file)
@@ -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 *