diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/aux-var-src/0002.wild | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0002 | 7 | ||||
-rw-r--r-- | test/stdout/0002 | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/test/aux-var-src/0002.wild b/test/aux-var-src/0002.wild index 826825725..f3202068e 100644 --- a/test/aux-var-src/0002.wild +++ b/test/aux-var-src/0002.wild @@ -9,3 +9,5 @@ abc: abc ^a\\.+b ^a\\.+b \N^a\d+b \N^a\d+b lsearch;DIR/aux-fixed/0002.quoted: lookup succeeded +^(?-i)MiXeD-CD: Data found for case-dependent MiXeD-CD +^MiXeD-nCD: Data found for case-independent MiXeD-nCD diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index 7ff379c4f..251b8d0c5 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -387,6 +387,13 @@ a99b: ${lookup{a99b}nwildlsearch{DIR/aux-var/0002.wild}{$value}{NO}} a\\:b: ${lookup{a\\:b}nwildlsearch{DIR/aux-var/0002.wild}} a\\:Xb: ${lookup{a\\:Xb}nwildlsearch{DIR/aux-var/0002.wild}} +# Some tests of case-(in)dependence + +MiXeD-CD: ${lookup{MiXeD-CD}nwildlsearch{DIR/aux-var/0002.wild}{$value}{NOT FOUND}} +MixeD-CD: ${lookup{MixeD-CD}nwildlsearch{DIR/aux-var/0002.wild}{$value}{NOT FOUND}} +MiXeD-Ncd: ${lookup{MiXeD-Ncd}nwildlsearch{DIR/aux-var/0002.wild}{$value}{NOT FOUND}} +MixeD-Ncd: ${lookup{MixeD-Ncd}nwildlsearch{DIR/aux-var/0002.wild}{$value}{NOT FOUND}} + # IP address (CIDR) lookups 1.2.3.4: ${lookup{1.2.3.4}iplsearch{DIR/aux-fixed/0002.iplsearch}} diff --git a/test/stdout/0002 b/test/stdout/0002 index 8e3c661b3..e437faded 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -356,6 +356,13 @@ > a\:b: ^a\\.+b > a\:Xb: ^a\\.+b > +> # Some tests of case-(in)dependence +> +> MiXeD-CD: Data found for case-dependent MiXeD-CD +> MixeD-CD: NOT FOUND +> MiXeD-Ncd: Data found for case-independent MiXeD-nCD +> MixeD-Ncd: Data found for case-independent MiXeD-nCD +> > # IP address (CIDR) lookups > > 1.2.3.4: data for 1.2.3.4 |