]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add regressions which test for the bugs fixed in changes 516, 517, and 518
authorBob Halley <source@isc.org>
Fri, 13 Oct 2000 18:51:59 +0000 (18:51 +0000)
committerBob Halley <source@isc.org>
Fri, 13 Oct 2000 18:51:59 +0000 (18:51 +0000)
bin/tests/system/lwresd/lwtest.c
bin/tests/system/lwresd/ns1/example1.db
bin/tests/system/lwresd/ns1/ip6.arpa.db

index d6a4f397619dc3083601339064e1a4c0ea393abc..081d727f01ab014f59f94a24a97758e46d937762 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: lwtest.c,v 1.15 2000/10/05 22:29:30 bwelling Exp $ */
+/* $Id: lwtest.c,v 1.16 2000/10/13 18:51:57 halley Exp $ */
 
 #include <config.h>
 
@@ -714,6 +714,8 @@ main(void) {
                         AF_INET6, "nibble.example");
        test_getnameinfo("1123:4567:89ab:cdef:0123:4567:89ab:cdef",
                         AF_INET6, "bitstring.example");
+       test_getnameinfo("1122:3344:5566:7788:99aa:bbcc:ddee:ff00",
+                        AF_INET6, "dname.example1");
 
        if (fails == 0)
                printf("I:ok\n");
index 0f86c5648bc919fbfdc7d5f2ee2080a08a7e89e8..367a99a84cd95dcf0e816053348f17f243b98e48 100644 (file)
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: example1.db,v 1.7 2000/08/01 01:15:45 tale Exp $
+; $Id: example1.db,v 1.8 2000/10/13 18:51:58 halley Exp $
 
 $TTL 300       ; 5 minutes
 @                      IN SOA  mname1. . (
@@ -32,3 +32,5 @@ a3                    CNAME   nowhere
 b                      A6      64 ::ffff:ffff:ffff:ffff c
 c                      A6      0 eeee:eeee:eeee:eeee::
 d                      A6      64 ::ffff:ffff:ffff:ffff e
+\[x7788/16]            DNAME   net
+\[x99aabbccddeeff00/64].net    PTR     dname
index 8c60ed7bff195ca013737e10b2ab994ed1b6aab9..e4fdc11f83980420855c236045ee4dd7543a5848 100644 (file)
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: ip6.arpa.db,v 1.5 2000/08/01 01:15:47 tale Exp $
+; $Id: ip6.arpa.db,v 1.6 2000/10/13 18:51:59 halley Exp $
 
 $TTL 300       ; 5 minutes
 @      IN SOA  mname1. . (
@@ -27,3 +27,4 @@ $TTL 300      ; 5 minutes
 ns     A       10.53.0.1
 
 \[x1123456789abcdef0123456789abcdef/128] PTR bitstring.example.
+\[x112233445566/48] DNAME example1.