summaryrefslogtreecommitdiff
path: root/src/testsuite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testsuite.cpp')
-rw-r--r--src/testsuite.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testsuite.cpp b/src/testsuite.cpp
index 502f28fd4..ee3346d9d 100644
--- a/src/testsuite.cpp
+++ b/src/testsuite.cpp
@@ -116,6 +116,8 @@ bool TestSuite::DoWildTests()
WCTEST("foobar", "foo*");
WCTEST("foobar", "*bar");
WCTEST("foobar", "foo??r");
+ WCTEST("foobar.test", "fo?bar.*t");
+ WCTEST("foobar", "foobar");
WCTESTNOT("foobar", "bazqux");
WCTESTNOT("foobar", "*qux");
@@ -123,6 +125,10 @@ bool TestSuite::DoWildTests()
WCTESTNOT("foobar", "baz*");
WCTESTNOT("foobar", "foo???r");
WCTESTNOT("foobar", "");
+ WCTESTNOT("", "foobar");
+ WCTESTNOT("OperServ", "O");
+ WCTESTNOT("O", "OperServ");
+ WCTESTNOT("foobar.tst", "fo?bar.*g");
CIDRTEST("brain@1.2.3.4", "*@1.2.0.0/16");
CIDRTEST("brain@1.2.3.4", "*@1.2.3.0/24");