summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/name_toWire5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/name_toWire5.spec')
-rw-r--r--src/lib/dns/tests/testdata/name_toWire5.spec19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/name_toWire5.spec b/src/lib/dns/tests/testdata/name_toWire5.spec
new file mode 100644
index 0000000..87e140d
--- /dev/null
+++ b/src/lib/dns/tests/testdata/name_toWire5.spec
@@ -0,0 +1,19 @@
+#
+# A sequence of names that would be compressed case-sensitive manner.
+# First name: "a.example.com"
+# Second name: "b.eXample.com". Due to case-sensitive comparison only "com"
+# can be compressed.
+# Third name: "c.eXample.com". "eXample.com" part matches that of the second
+# name and can be compressed.
+#
+
+[custom]
+sections: name/1:name/2:name/3
+[name/1]
+name: a.example.com
+[name/2]
+name: b.eXample
+pointer: 10
+[name/3]
+name: c
+pointer: 17