]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
tidying up after backport
authorEvan Hunt <each@isc.org>
Fri, 23 Feb 2018 21:28:47 +0000 (13:28 -0800)
committerEvan Hunt <each@isc.org>
Fri, 23 Feb 2018 21:28:47 +0000 (13:28 -0800)
34 files changed:
bin/tests/system/addzone/clean.sh
bin/tests/system/autosign/ns3/named.conf.in
bin/tests/system/autosign/ns4/named.conf.in
bin/tests/system/cacheclean/ns2/named.conf.in
bin/tests/system/dlv/ns1/root.db.in
bin/tests/system/dlv/ns1/rootservers.utld.db
bin/tests/system/dlv/ns2/druz.db.in
bin/tests/system/dlv/ns2/hints
bin/tests/system/dlv/ns2/utld.db
bin/tests/system/dlv/ns3/child.db.in
bin/tests/system/dlv/ns3/dlv.db.in
bin/tests/system/dlv/ns3/hints
bin/tests/system/dlv/ns4/child.db
bin/tests/system/dlv/ns4/hints
bin/tests/system/dlv/ns5/hints
bin/tests/system/dlv/ns5/rndc.conf
bin/tests/system/dlv/ns6/child.db.in
bin/tests/system/dlv/ns6/hints
bin/tests/system/dnssec/ns2/named.conf.in
bin/tests/system/dnssec/ns3/named.conf.in
bin/tests/system/dnssec/ns4/named1.conf.in
bin/tests/system/dnssec/ns4/named2.conf.in
bin/tests/system/dnssec/ns4/named3.conf.in
bin/tests/system/dnssec/ns4/named5.conf.in
bin/tests/system/glue/tests.sh
bin/tests/system/logfileconfig/clean.sh
bin/tests/system/logfileconfig/tests.sh
bin/tests/system/lwresd/lwresd1/lwresd.conf.in [deleted file]
bin/tests/system/lwresd/lwresd1/nosearch.conf.in [deleted file]
bin/tests/system/lwresd/ns1/named.conf.in [deleted file]
bin/tests/system/lwresd/setup.sh [deleted file]
bin/tests/system/pipelined/pipequeries.c
bin/tests/system/rrsetorder/clean.sh
bin/tests/system/tsig/clean.sh

index 1916f110cecb2233e0f2c339bcbac46ee275160e..335053ff02104f2d2aeca9a594a1db04582d3131 100644 (file)
@@ -6,8 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-# $Id: clean.sh,v 1.3 2010/09/15 03:32:34 marka Exp $
-
 rm -f dig.out.*
 rm -f rndc.out*
 rm -f */named.conf
index 00ec223b7c9f6f8eb30fbdd6645d5773ba7ec6fc..5e630852bad44841d5b63e3006772d9755c3a1c8 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named.conf,v 1.15 2012/02/06 23:46:47 tbox Exp $ */
-
 // NS3
 
 controls { /* empty */ };
index af24ed96175cc083b834efb2ff241d487908b3db..afc7dd1a7b2c4f5875d0c219e910e63836a2472d 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named.conf,v 1.3 2009/11/30 23:48:02 tbox Exp $ */
-
 // NS4
 
 options {
index e36fdffbf0168bc3ca6032852ebe881c9c909515..5b73d85a6b3a5a325728ec499119537a072e9956 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named.conf,v 1.10 2011/08/02 23:47:52 tbox Exp $ */
-
 options {
        query-source address 10.53.0.2;
        notify-source 10.53.0.2;
index e2ce3f07bcd06dfc442ed19817b0f4b719491b31..a4d4bd926915cb8d707bd5625dbbd731ba9207fc 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: root.db.in,v 1.3 2011/05/26 23:47:28 tbox Exp $
-
 $TTL   120
 @              SOA     ns.rootservers.utld hostmaster.ns.rootservers.utld (
                        1 3600 1200 604800 60 )
index 820e610bf174495e4bd8c9a0fab4283740e3ce1e..8491ed0e3057517e6e9dd02c505976c67d679f75 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: rootservers.utld.db,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 $TTL   120
 @      SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @      NS      ns
index 149ee8537692206156f35ea348267ac833a19b70..4e0f892a53ff01100856383941680bcaea2a2471 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: druz.db.in,v 1.4 2011/05/26 23:47:28 tbox Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @              NS      ns
index 5916e9f781f9fc0b25788546a7f05c9dec3da2b3..381e86b152284f681ac39827c647d4db7e0a6899 100644 (file)
@@ -7,7 +7,5 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: hints,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 . 0 NS ns.rootservers.utld.
 ns.rootservers.utld. 0 A 10.53.0.1
index c64a02902fc2453177f3ce82dd551dedaf86233b..66f559d76f57d455b3d470e11866a5e6d163a6ce 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: utld.db,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @              NS      ns
index 5128a0d8d926c8a1110d1bff6d9c5cfd73269a39..11df807ab7596afd706f29fe69497171c1ebfc84 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: child.db.in,v 1.6 2010/05/27 23:51:08 tbox Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @              NS      ns
index d25b9d8148f54db5e5c9adcf3135cc5e29c399ee..fdc8ce990166554c329b6fb834010613d44bd752 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: dlv.db.in,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @              NS      ns
index 5916e9f781f9fc0b25788546a7f05c9dec3da2b3..381e86b152284f681ac39827c647d4db7e0a6899 100644 (file)
@@ -7,7 +7,5 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: hints,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 . 0 NS ns.rootservers.utld.
 ns.rootservers.utld. 0 A 10.53.0.1
index 2a94c7968ae63a798719cbb5d8cba6612b06907a..c123f70a950ed8a7eaf2b3eaf65229fa6229ec10 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: child.db,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns 1 3600 1200 604800 60
 @              NS      ns
index 5916e9f781f9fc0b25788546a7f05c9dec3da2b3..381e86b152284f681ac39827c647d4db7e0a6899 100644 (file)
@@ -7,7 +7,5 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: hints,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 . 0 NS ns.rootservers.utld.
 ns.rootservers.utld. 0 A 10.53.0.1
index 5916e9f781f9fc0b25788546a7f05c9dec3da2b3..381e86b152284f681ac39827c647d4db7e0a6899 100644 (file)
@@ -7,7 +7,5 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: hints,v 1.4 2007/06/19 23:47:02 tbox Exp $
-
 . 0 NS ns.rootservers.utld.
 ns.rootservers.utld. 0 A 10.53.0.1
index 070afc5ec9e4f91b0bf9d48048a2ff9acb543dea..02bce927088d838487ab439ef2d59ee54e7259c4 100644 (file)
@@ -9,8 +9,6 @@
  * information regarding copyright ownership.
  */
 
-/* $Id: rndc.conf,v 1.5 2007/06/19 23:47:02 tbox Exp $ */
-
 key "cc64b3d1db63fc88d7cb5d2f9f57d258" {
        algorithm hmac-sha256;
        secret "34f88008d07deabbe65bd01f1d233d47";
index 6f884d5b87127f20e811381e7199c37464445b7c..09a942ed5f8808946b6e8e6164cee530543923a5 100644 (file)
@@ -7,8 +7,6 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: child.db.in,v 1.2 2010/05/26 06:28:00 marka Exp $
-
 $TTL   120
 @              SOA     ns hostmaster.ns6 1 3600 1200 604800 60
 @              NS      ns
index 643113edeec8fc3c799261fc8b25d088b9bd7dc8..381e86b152284f681ac39827c647d4db7e0a6899 100644 (file)
@@ -7,7 +7,5 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; $Id: hints,v 1.3 2010/05/26 23:50:47 tbox Exp $
-
 . 0 NS ns.rootservers.utld.
 ns.rootservers.utld. 0 A 10.53.0.1
index 823e7dbd4e81bd2062795096da54ef0d13ecae7e..09399a2d792fc4f4f48bdb1278fb4cc38a05eedb 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named.conf,v 1.36 2011/03/21 23:47:21 tbox Exp $ */
-
 // NS2
 
 options {
index 925f9412b6046a4d7fd6edfa15ff6d08b73c81e1..ba09056fe68ea9b100236c9a920bc18b2357c0a4 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named.conf,v 1.49 2011/10/28 06:20:05 each Exp $ */
-
 // NS3
 
 options {
index 5927d1b17bbb38eb70c5dc1104531ed807c99c2c..251a4a03689c62411422eb2b0fcc488a4d7bfb0a 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named1.conf,v 1.3 2011/01/04 23:47:13 tbox Exp $ */
-
 // NS4
 
 options {
index 8b12f3649cf63d46aa0d9c25c9effe86b757179e..471a0738fe20c5f8b5f99177f70408d900a0c724 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named2.conf,v 1.3 2011/01/04 23:47:13 tbox Exp $ */
-
 // NS4
 
 options {
index 63988ef40ddbf48434d2031ea31d56cd599ebae0..a97951483dbdc4d7d15fa0e9a7967a46c832b190 100644 (file)
@@ -6,8 +6,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-/* $Id: named2.conf,v 1.3 2011/01/04 23:47:13 tbox Exp $ */
-
 // NS4
 
 options {
index 949e4a04a3fb8b96d082a7e48b6dc10336df8da4..65dad983e50536124584f43bfcf2eaec4c23f1aa 100644 (file)
@@ -8,8 +8,6 @@
 
 // NS4
 
-controls { /* empty */ };
-
 options {
        query-source address 10.53.0.4;
        notify-source 10.53.0.4;
index 9491fbfe0411ef4288a3afdc901b7b395ad5aceb..4d73849d2b191c7eb938db56030035b1dc47912e 100644 (file)
@@ -22,11 +22,11 @@ $DIG $DIGOPTS @10.53.0.1 foo.bar.fi. A >dig.out || status=1
 $PERL ../digcomp.pl --lc fi.good dig.out || status=1
 
 echo_i "testing that we find glue A RRs we are authoritative for"
-$DIG +norec @10.53.0.1 -p 5300 foo.bar.xx. a >dig.out || status=1
+$DIG +norec @10.53.0.1 -p ${PORT} foo.bar.xx. a >dig.out || status=1
 $PERL ../digcomp.pl xx.good dig.out || status=1
 
 echo_i "testing that we find glue A/AAAA RRs in the cache"
-$DIG +norec @10.53.0.1 -p 5300 foo.bar.yy. a >dig.out || status=1
+$DIG +norec @10.53.0.1 -p ${PORT} foo.bar.yy. a >dig.out || status=1
 $PERL ../digcomp.pl yy.good dig.out || status=1
 
 echo_i "testing that we don't find out-of-zone glue"
index 69ed3455887b868a1c071ec1b83887adc8484656..a75a51ea8d12c0b9b24b3723abc75e805d7be138 100644 (file)
@@ -6,8 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-# $Id: clean.sh,v 1.4 2011/03/22 16:51:50 smann Exp $
-
 #
 # Clean up after log file tests
 #
index 0fe0ac119720c154d4bf6e5b6bed16cf382157cb..8267b4396631bfd19f7b2477f6ab8a0b913b98d9 100644 (file)
@@ -292,7 +292,7 @@ echo_i "testing logging functionality"
 
 n=`expr $n + 1`
 echo_i "testing explicit versions ($n)"
-cp $VERSCONF named.conf
+copy_setports $VERSCONF named.conf
 # a seconds since epoch version number
 touch $VERSFILE.1480039317
 t1=`$PERL -e 'print time()."\n";'`
@@ -328,7 +328,7 @@ fi
 
 n=`expr $n + 1`
 echo_i "testing unlimited versions ($n)"
-cp $UNLIMITEDCONF named.conf
+copy_setports $UNLIMITEDCONF named.conf
 # a seconds since epoch version number
 touch $UNLIMITEDFILE.1480039317
 t1=`$PERL -e 'print time()."\n";'`
diff --git a/bin/tests/system/lwresd/lwresd1/lwresd.conf.in b/bin/tests/system/lwresd/lwresd1/lwresd.conf.in
deleted file mode 100644 (file)
index 64db592..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (C) 2000, 2001, 2004, 2007, 2016  Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-/* $Id: lwresd.conf,v 1.8 2007/06/19 23:47:04 tbox Exp $ */
-
-controls { /* empty */ };
-
-options {
-       port 5300;
-       pid-file "lwresd.pid";
-       forwarders {10.53.0.1;};
-       forward only;
-};
-
-lwres {
-       listen-on {10.53.0.1 port 9210;};
-       view "_default";
-       search {example1.;};
-       ndots 1;
-};
diff --git a/bin/tests/system/lwresd/lwresd1/nosearch.conf.in b/bin/tests/system/lwresd/lwresd1/nosearch.conf.in
deleted file mode 100644 (file)
index ec8d9eb..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2016  Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-/* $Id: lwresd.conf,v 1.8 2007/06/19 23:47:04 tbox Exp $ */
-
-controls { /* empty */ };
-
-options {
-       port 5300;
-       pid-file "lwresd.pid";
-       forwarders {10.53.0.1;};
-       forward only;
-};
-
-lwres {
-       listen-on {10.53.0.1 port 9210;};
-       view "_default";
-       ndots 1;
-};
diff --git a/bin/tests/system/lwresd/ns1/named.conf.in b/bin/tests/system/lwresd/ns1/named.conf.in
deleted file mode 100644 (file)
index abb77e2..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (C) 2000, 2001, 2004, 2006-2008, 2016  Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-/* $Id: named.conf,v 1.21 2008/04/02 23:46:57 tbox Exp $ */
-
-controls { /* empty */ };
-
-options {
-       query-source address 10.53.0.1;
-       notify-source 10.53.0.1;
-       transfer-source 10.53.0.1;
-       port 5300;
-       pid-file "named.pid";
-       listen-on { 10.53.0.1; };
-       listen-on-v6 { none; };
-       recursion no;
-       notify no;
-       dnssec-enable yes;
-       dnssec-validation yes;
-};
-
-zone "." {
-       type master;
-       file "root.db";
-};
-
-zone "example1." {
-       type master;
-       file "example1.db";
-};
-
-zone "e.example1." {
-       type master;
-       file "e.example1.db";
-};
-
-zone "example2." {
-       type master;
-       file "example2.db";
-};
-
-zone "10.10.10.in-addr.arpa." {
-       type master;
-       file "10.10.10.in-addr.arpa.db";
-};
-
-zone "ip6.int." {
-       type master;
-       file "ip6.int.db";
-};
-
-zone "ip6.arpa." {
-       type master;
-       file "ip6.arpa.db";
-};
diff --git a/bin/tests/system/lwresd/setup.sh b/bin/tests/system/lwresd/setup.sh
deleted file mode 100644 (file)
index aa0a847..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C)  2018  Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-SYSTEMTESTTOP=..
-. $SYSTEMTESTTOP/conf.sh
-
-$SHELL clean.sh
-copy_setports ns1/named.conf.in ns1/named.conf
-
-copy_setports lwresd1/lwresd.conf.in lwresd1/lwresd.conf
-copy_setports lwresd1/nosearch.conf.in lwresd1/nosearch.conf
index 715c84b5f17d1415d562c7057002cd777d82d163..02b0ed6314c151ce9020a864b73ffb1a4012fa7f 100644 (file)
@@ -219,7 +219,7 @@ main(int argc, char *argv[]) {
        UNUSED(argv);
 
        isc_commandline_errprint = ISC_FALSE;
-       while ((c = isc_commandline_parse(argc, argv, "p:r:")) != -1) {
+       while ((c = isc_commandline_parse(argc, argv, "p:")) != -1) {
                switch (c) {
                case 'p':
                        result = isc_parse_uint16(&port,
@@ -230,9 +230,6 @@ main(int argc, char *argv[]) {
                                exit(1);
                        }
                        break;
-               case 'r':
-                       randomfile = isc_commandline_argument;
-                       break;
                case '?':
                        fprintf(stderr, "%s: invalid argument '%c'",
                                argv[0], c);
index eb1a4774f11f275baee001b249bc549bc19236d6..0021a50945e6d93a21aeef0a8f902d4ca8deac4f 100644 (file)
@@ -6,8 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-# $Id: clean.sh,v 1.10 2011/12/23 23:47:13 tbox Exp $
-
 rm -f dig.out.test*
 rm -f dig.out.cyclic dig.out.fixed dig.out.random
 rm -f dig.out.0 dig.out.1 dig.out.2 dig.out.3
index 35f1763201d7c200ff0396c38a87aa12a0952034..b31f238742d8bb7da987657f35c2b6d30203d3f4 100644 (file)
@@ -6,8 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-# $Id: clean.sh,v 1.6 2007/09/26 03:22:44 marka Exp $
-
 #
 # Clean up after tsig tests.
 #