From: Bob Halley Date: Fri, 13 Oct 2000 18:51:59 +0000 (+0000) Subject: Add regressions which test for the bugs fixed in changes 516, 517, and 518 X-Git-Tag: v9.0.1^4~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af9bd789ecb1f3c100128aa94accafcd414a280;p=thirdparty%2Fbind9.git Add regressions which test for the bugs fixed in changes 516, 517, and 518 --- diff --git a/bin/tests/system/lwresd/lwtest.c b/bin/tests/system/lwresd/lwtest.c index d6a4f397619..081d727f01a 100644 --- a/bin/tests/system/lwresd/lwtest.c +++ b/bin/tests/system/lwresd/lwtest.c @@ -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 @@ -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"); diff --git a/bin/tests/system/lwresd/ns1/example1.db b/bin/tests/system/lwresd/ns1/example1.db index 0f86c5648bc..367a99a84cd 100644 --- a/bin/tests/system/lwresd/ns1/example1.db +++ b/bin/tests/system/lwresd/ns1/example1.db @@ -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 diff --git a/bin/tests/system/lwresd/ns1/ip6.arpa.db b/bin/tests/system/lwresd/ns1/ip6.arpa.db index 8c60ed7bff1..e4fdc11f839 100644 --- a/bin/tests/system/lwresd/ns1/ip6.arpa.db +++ b/bin/tests/system/lwresd/ns1/ip6.arpa.db @@ -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.