]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2188] Add missing file
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 28 Aug 2012 12:54:34 +0000 (14:54 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 28 Aug 2012 12:54:34 +0000 (14:54 +0200)
I forgot to add it before.

src/bin/loadzone/tests/correct/Makefile.am
src/bin/loadzone/tests/correct/comment.db [new file with mode: 0644]

index fb882bae4b2a51ffdf6e0c0c3d91ad88d2b1f810..a3c67d4a9c470f066e122a388ef5a6af9174c71a 100644 (file)
@@ -12,6 +12,7 @@ EXTRA_DIST += ttl1.db
 EXTRA_DIST += ttl2.db
 EXTRA_DIST += ttlext.db
 EXTRA_DIST += example.db
+EXTRA_DIST += comment.db
 
 noinst_SCRIPTS = correct_test.sh
 
diff --git a/src/bin/loadzone/tests/correct/comment.db b/src/bin/loadzone/tests/correct/comment.db
new file mode 100644 (file)
index 0000000..79ce9b7
--- /dev/null
@@ -0,0 +1,8 @@
+; Test removal of comments and not removal from strings.
+; We had a bug - see #2188.
+comment.example.com.           60      IN      SOA     ns1.example.com. hostmaster.example.com. 1 43200 900 1814400 7200
+comment.example.com.           60      IN      NS      ns1.example.com.
+comment.example.com.           60      IN      TXT     "Simple text"
+comment.example.com.           60      IN      TXT     "; No comment"
+comment.example.com.           60      IN      TXT     "Also no comment here" ; But here it is a comment
+comment.example.com.           60      IN      TXT     "A combination ; see?" ; This is a "comment