summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-07-18 15:29:21 +1200
committerKarolin Seeger <kseeger@samba.org>2018-07-28 06:16:15 +0200
commitc6d98623215e37d6a28e590413a18f8d9aec9c8b (patch)
treee0d3b17b898c143ad4ad1df395013f39e09c6879 /selftest
parent066ba51aac130fbd67fe728a692a08ddabbc6ef8 (diff)
downloadsamba-c6d98623215e37d6a28e590413a18f8d9aec9c8b.tar.gz
dns wildcards: tests to confirm BUG 13536
DNS wildcard matching failing if more than one label to the left of the wildcard. This commits adds tests to confirm the bug. Wildcard entry: *.example.org bar.example.com matches foo.bar.example.com does not, but it it should. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 0d3aec18679a2637430263a55de5e210a9201e21)
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/dns_wildcard5
1 files changed, 5 insertions, 0 deletions
diff --git a/selftest/knownfail.d/dns_wildcard b/selftest/knownfail.d/dns_wildcard
new file mode 100644
index 00000000000..2c9ade138fc
--- /dev/null
+++ b/selftest/knownfail.d/dns_wildcard
@@ -0,0 +1,5 @@
+# https://bugzilla.samba.org/show_bug.cgi?id=13536
+#
+
+^samba.*.TestWildCardQueries.test_one_a_query_match_wildcard_l2_2_labels
+^samba.*.TestWildCardQueries.test_one_a_query_match_wildcard_2_labels