]> granicus.if.org Git - curl/commitdiff
unit1307: test many wildcards too
authorDaniel Stenberg <daniel@haxx.se>
Tue, 16 Jan 2018 14:57:30 +0000 (15:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Jan 2018 10:14:57 +0000 (11:14 +0100)
tests/unit/unit1307.c

index c5ec587a5225e8dc33de876625f5227131df342a..266eed3923fbbe3d4a6721423b798d4a82512492 100644 (file)
@@ -204,7 +204,11 @@ static const struct testcase tests[] = {
 
   { "Lindmätarv",               "Lindmätarv",             MATCH },
 
-  { "",                         "",                       MATCH }
+  { "",                         "",                       MATCH },
+  {"**]*[*[\x13]**[*\x13)]*]*[**[*\x13~r-]*]**[.*]*[\xe3\xe3\xe3\xe3\xe3\xe3"
+   "\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3\xe3"
+   "\xe3\xe3\xe3\xe3\xe3*[\x13]**[*\x13)]*]*[*[\x13]*[~r]*]*\xba\x13\xa6~b-]*",
+                                "a",                      NOMATCH }
 };
 
 static CURLcode unit_setup(void)