mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Rename system test directory with common files to _common
The old name "common" clashes with the convention of system test directory naming. It appears as a system test directory, but it only contains helper files. To reduce confusion and to allow automatic detection of issues with possibly missing test files, rename the helper directory to "_common". The leading underscore indicates the directory is different and the its name can no longer be confused with regular system test directories.
This commit is contained in:
@@ -14,10 +14,9 @@ Introduction
|
||||
This directory holds a simple test environment for running bind9 system tests
|
||||
involving multiple name servers.
|
||||
|
||||
With the exception of "common" (which holds configuration information common to
|
||||
multiple tests), each directory holds a set of scripts and configuration
|
||||
files to test different parts of BIND. The directories are named for the
|
||||
aspect of BIND they test, for example:
|
||||
Each system test directory holds a set of scripts and configuration files to
|
||||
test different parts of BIND. The directories are named for the aspect of BIND
|
||||
they test, for example:
|
||||
|
||||
dnssec/ DNSSEC tests
|
||||
forward/ Forwarding tests
|
||||
@@ -25,6 +24,9 @@ aspect of BIND they test, for example:
|
||||
|
||||
etc.
|
||||
|
||||
A system test directory must start with an alphabetic character and may not
|
||||
contain any special characters. Only hyphen may be used as a word separator.
|
||||
|
||||
Typically each set of tests sets up 2-5 name servers and then performs one or
|
||||
more tests against them. Within the test subdirectory, each name server has a
|
||||
separate subdirectory containing its configuration data. These subdirectories
|
||||
|
@@ -47,7 +47,7 @@ key two {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -47,7 +47,7 @@ key two {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -60,7 +60,7 @@ acl accept {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -59,7 +59,7 @@ acl check2 { !key two; 10.53.0.2; };
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -49,7 +49,7 @@ key two {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
status=0
|
||||
t=0
|
||||
|
@@ -25,7 +25,7 @@ options {
|
||||
minimal-responses yes;
|
||||
};
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -25,7 +25,7 @@ options {
|
||||
minimal-responses no;
|
||||
};
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -26,7 +26,7 @@ options {
|
||||
minimal-responses no-auth;
|
||||
};
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -25,7 +25,7 @@ options {
|
||||
minimal-responses no-auth-recursive;
|
||||
};
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="-p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
status=0
|
||||
n=0
|
||||
|
@@ -33,7 +33,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "inlinesec.example" {
|
||||
|
@@ -22,7 +22,7 @@ options {
|
||||
dnssec-validation no;
|
||||
};
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
@@ -30,7 +30,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
@@ -36,7 +36,7 @@ view internal {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "policy" {
|
||||
@@ -51,7 +51,7 @@ view external {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
@@ -36,7 +36,7 @@ view internal {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "policy" {
|
||||
@@ -51,7 +51,7 @@ view directory {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -61,7 +61,7 @@ view external {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="+tcp +nosea +nostat +nocmd +norec +noques +noauth +noadd +nostats +dnssec -p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
check_zonestatus() (
|
||||
$RNDCCMD "10.53.0.$1" zonestatus -redirect > "zonestatus.out.ns$1.$n" &&
|
||||
|
@@ -22,7 +22,7 @@ def run_rndc(server, rndc_command):
|
||||
rndc = os.getenv("RNDC")
|
||||
port = os.getenv("CONTROLPORT")
|
||||
|
||||
cmdline = [rndc, "-c", "../common/rndc.conf", "-p", port, "-s", server]
|
||||
cmdline = [rndc, "-c", "../_common/rndc.conf", "-p", port, "-s", server]
|
||||
cmdline.extend(rndc_command)
|
||||
|
||||
subprocess.check_output(cmdline, stderr=subprocess.STDOUT, timeout=10)
|
||||
|
@@ -24,7 +24,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -27,7 +27,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -27,7 +27,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -27,7 +27,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -30,7 +30,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -36,7 +36,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -30,7 +30,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -26,7 +26,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -30,7 +30,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -30,7 +30,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -30,7 +30,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -33,7 +33,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -40,7 +40,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -33,7 +33,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -29,7 +29,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -29,7 +29,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -38,7 +38,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -25,7 +25,7 @@ include "controls.conf";
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -28,7 +28,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -27,7 +27,7 @@ view "internal" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "normal.example" {
|
||||
|
@@ -31,5 +31,5 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
@@ -34,5 +34,5 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
@@ -34,5 +34,5 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
@@ -34,5 +34,5 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
. ../conf.sh
|
||||
|
||||
copy_setports ../common/controls.conf.in ns2/controls.conf
|
||||
copy_setports ../_common/controls.conf.in ns2/controls.conf
|
||||
copy_setports ns1/named.conf.in ns1/named.conf
|
||||
copy_setports ns2/named01.conf.in ns2/named.conf
|
||||
copy_setports ns3/named1.conf.in ns3/named.conf
|
||||
|
@@ -72,7 +72,7 @@ dnssec-policy "optout" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -122,7 +122,7 @@ dnssec-policy "rsasha512" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -28,7 +28,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
include "trusted.conf";
|
||||
|
@@ -27,7 +27,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
include "trusted.conf";
|
||||
|
@@ -19,7 +19,7 @@ status=0
|
||||
n=0
|
||||
|
||||
DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
# convert private-type records to readable form
|
||||
# $1 is the zone
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="-p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
status=0
|
||||
n=0
|
||||
|
@@ -36,7 +36,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "flushtest.example" {
|
||||
|
@@ -18,7 +18,7 @@ set -e
|
||||
status=0
|
||||
n=0
|
||||
|
||||
RNDCOPTS="-c ../common/rndc.conf -s 10.53.0.2 -p ${CONTROLPORT}"
|
||||
RNDCOPTS="-c ../_common/rndc.conf -s 10.53.0.2 -p ${CONTROLPORT}"
|
||||
DIGOPTS="+nosea +nocomm +nocmd +noquest +noadd +noauth +nocomm \
|
||||
+nostat @10.53.0.2 -p ${PORT}"
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -21,7 +21,7 @@ dig_with_opts() {
|
||||
}
|
||||
|
||||
rndccmd() (
|
||||
"$RNDC" -c ../common/rndc.conf -p "${CONTROLPORT}" -s "$@"
|
||||
"$RNDC" -c ../_common/rndc.conf -p "${CONTROLPORT}" -s "$@"
|
||||
)
|
||||
|
||||
_wait_for_message() (
|
||||
@@ -661,7 +661,7 @@ echo_i "reconfiguring secondary - checking if catz survives a certain class of f
|
||||
ret=0
|
||||
sed -e "s/^#T3//" < ns2/named1.conf.in > ns2/named.conf.tmp
|
||||
copy_setports ns2/named.conf.tmp ns2/named.conf
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
$RNDC -c ../_common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
|
||||
@@ -688,7 +688,7 @@ echo_i "reconfiguring secondary - checking if catz survives another type of fail
|
||||
ret=0
|
||||
sed -e "s/^#T4//" < ns2/named1.conf.in > ns2/named.conf.tmp
|
||||
copy_setports ns2/named.conf.tmp ns2/named.conf
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
$RNDC -c ../_common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
|
||||
@@ -1745,7 +1745,7 @@ echo_i "reconfiguring secondary - removing catalog4 catalog zone, adding non-exi
|
||||
ret=0
|
||||
sed -e "s/^#T2//" < ns2/named1.conf.in > ns2/named.conf.tmp
|
||||
copy_setports ns2/named.conf.tmp ns2/named.conf
|
||||
$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
$RNDC -c ../_common/rndc.conf -s 10.53.0.2 -p "${CONTROLPORT}" reconfig > /dev/null 2>&1 && ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
|
||||
|
@@ -28,7 +28,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "sub5.example" {
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="-p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
sendcmd() {
|
||||
send 10.53.0.4 "${EXTRAPORT1}"
|
||||
|
@@ -37,7 +37,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "ns2" {
|
||||
|
@@ -35,7 +35,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
include "trusted.conf";
|
||||
|
@@ -37,7 +37,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "ns2" {
|
||||
|
@@ -37,7 +37,7 @@ controls {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "foo" {
|
||||
|
@@ -43,7 +43,7 @@ parental-agents "ns8" port @PORT@ {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -244,7 +244,7 @@ def rekey(zone):
|
||||
rndc_cmd = [
|
||||
rndc,
|
||||
"-c",
|
||||
"../common/rndc.conf",
|
||||
"../_common/rndc.conf",
|
||||
"-p",
|
||||
port,
|
||||
"-s",
|
||||
|
@@ -288,7 +288,7 @@ send() {
|
||||
eval "$($PYTHON "$TOP_SRCDIR/bin/tests/system/get_algorithms.py")"
|
||||
|
||||
# Default HMAC algorithm.
|
||||
# also update common/rndc.conf and common/rndc.key when updating DEFAULT_HMAC
|
||||
# also update _common/rndc.conf and _common/rndc.key when updating DEFAULT_HMAC
|
||||
export DEFAULT_HMAC=hmac-sha256
|
||||
|
||||
#
|
||||
@@ -601,12 +601,12 @@ _times() {
|
||||
}
|
||||
|
||||
rndc_reload() {
|
||||
$RNDC -c ../common/rndc.conf -s $2 -p ${CONTROLPORT} reload $3 2>&1 | sed 's/^/'"I:$SYSTESTDIR:$1"' /'
|
||||
$RNDC -c ../_common/rndc.conf -s $2 -p ${CONTROLPORT} reload $3 2>&1 | sed 's/^/'"I:$SYSTESTDIR:$1"' /'
|
||||
# reloading single zone is synchronous, if we're reloading whole server
|
||||
# we need to wait for reload to finish
|
||||
if [ -z "$3" ]; then
|
||||
for _ in $(_times 10); do
|
||||
$RNDC -c ../common/rndc.conf -s $2 -p ${CONTROLPORT} status | grep "reload/reconfig in progress" > /dev/null || break
|
||||
$RNDC -c ../_common/rndc.conf -s $2 -p ${CONTROLPORT} status | grep "reload/reconfig in progress" > /dev/null || break
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
@@ -614,9 +614,9 @@ rndc_reload() {
|
||||
|
||||
rndc_reconfig() {
|
||||
seconds=${3:-10}
|
||||
$RNDC -c ../common/rndc.conf -s "$2" -p "${CONTROLPORT}" reconfig 2>&1 | sed 's/^/'"I:$SYSTESTDIR:$1"' /'
|
||||
$RNDC -c ../_common/rndc.conf -s "$2" -p "${CONTROLPORT}" reconfig 2>&1 | sed 's/^/'"I:$SYSTESTDIR:$1"' /'
|
||||
for _ in $(_times "$seconds"); do
|
||||
"$RNDC" -c ../common/rndc.conf -s "$2" -p "${CONTROLPORT}" status | grep "reload/reconfig in progress" > /dev/null || break
|
||||
"$RNDC" -c ../_common/rndc.conf -s "$2" -p "${CONTROLPORT}" status | grep "reload/reconfig in progress" > /dev/null || break
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
@@ -628,7 +628,7 @@ rndc_reconfig() {
|
||||
# arguments, if any, are appended to the rndc command line after "dumpdb".
|
||||
#
|
||||
# Control channel configuration for the name server instance to send the
|
||||
# command to must match the contents of bin/tests/system/common/rndc.conf.
|
||||
# command to must match the contents of bin/tests/system/_common/rndc.conf.
|
||||
#
|
||||
# rndc output is stored in a file called rndc.out.test${n}; the "n" variable is
|
||||
# required to be set by the calling tests.sh script.
|
||||
@@ -643,7 +643,7 @@ rndc_dumpdb() {
|
||||
__ip="10.53.0.$(echo "${__server}" | tr -c -d "0-9")"
|
||||
|
||||
shift
|
||||
${RNDC} -c ../common/rndc.conf -p "${CONTROLPORT}" -s "${__ip}" dumpdb "$@" > "rndc.out.test${n}" 2>&1 || __ret=1
|
||||
${RNDC} -c ../_common/rndc.conf -p "${CONTROLPORT}" -s "${__ip}" dumpdb "$@" > "rndc.out.test${n}" 2>&1 || __ret=1
|
||||
|
||||
for _ in 0 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
|
@@ -16,7 +16,7 @@ set -e
|
||||
. ../conf.sh
|
||||
|
||||
DIGOPTS="-p ${PORT}"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
status=0
|
||||
n=0
|
||||
|
@@ -21,7 +21,7 @@ n=0
|
||||
rm -f dig.out.*
|
||||
|
||||
DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p ${PORT}"
|
||||
RNDCCMD="$RNDC -s 10.53.0.1 -p ${CONTROLPORT} -c ../common/rndc.conf"
|
||||
RNDCCMD="$RNDC -s 10.53.0.1 -p ${CONTROLPORT} -c ../_common/rndc.conf"
|
||||
|
||||
# Check the example. domain
|
||||
|
||||
|
@@ -25,7 +25,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -24,5 +24,5 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
@@ -1405,7 +1405,7 @@ if [ -x "$DELV" ] ; then
|
||||
|
||||
n=$((n+1))
|
||||
echo_i "check NS output from delv +ns ($n)"
|
||||
delv_with_opts -i +ns +nortrace +nostrace +nomtrace +novtrace +hint=../common/root.hint ns example > delv.out.test$n || ret=1
|
||||
delv_with_opts -i +ns +nortrace +nostrace +nomtrace +novtrace +hint=../_common/root.hint ns example > delv.out.test$n || ret=1
|
||||
lines=$(awk '$1 == "example." && $4 == "NS" {print}' delv.out.test$n | wc -l)
|
||||
[ $lines -eq 2 ] || ret=1
|
||||
status=$((status+ret))
|
||||
@@ -1413,7 +1413,7 @@ if [ -x "$DELV" ] ; then
|
||||
n=$((n+1))
|
||||
echo_i "checking delv +ns (no validation) ($n)"
|
||||
ret=0
|
||||
delv_with_opts -i +ns +hint=../common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
delv_with_opts -i +ns +hint=../_common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
grep -q '; authoritative' delv.out.test$n || ret=1
|
||||
grep -q '_.example' delv.out.test$n && ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
@@ -1422,7 +1422,7 @@ if [ -x "$DELV" ] ; then
|
||||
n=$((n+1))
|
||||
echo_i "checking delv +ns +qmin (no validation) ($n)"
|
||||
ret=0
|
||||
delv_with_opts -i +ns +qmin +hint=../common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
delv_with_opts -i +ns +qmin +hint=../_common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
grep -q '; authoritative' delv.out.test$n || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
@@ -1430,7 +1430,7 @@ if [ -x "$DELV" ] ; then
|
||||
n=$((n+1))
|
||||
echo_i "checking delv +ns (with validation) ($n)"
|
||||
ret=0
|
||||
delv_with_opts -a ns1/anchor.dnskey +root +ns +hint=../common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
delv_with_opts -a ns1/anchor.dnskey +root +ns +hint=../_common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
grep -q '; fully validated' delv.out.test$n || ret=1
|
||||
grep -q '_.example' delv.out.test$n && ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
@@ -1439,7 +1439,7 @@ if [ -x "$DELV" ] ; then
|
||||
n=$((n+1))
|
||||
echo_i "checking delv +ns +qmin (with validation) ($n)"
|
||||
ret=0
|
||||
delv_with_opts -a ns1/anchor.dnskey +root +ns +qmin +hint=../common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
delv_with_opts -a ns1/anchor.dnskey +root +ns +qmin +hint=../_common/root.hint a a.example > delv.out.test$n || ret=1
|
||||
grep -q '; fully validated' delv.out.test$n || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
|
@@ -41,7 +41,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
@@ -19,7 +19,7 @@ status=0
|
||||
n=0
|
||||
|
||||
DIGOPTS="@10.53.0.1 -p ${PORT} +nocookie"
|
||||
RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s"
|
||||
|
||||
newtest() {
|
||||
n=$((n + 1))
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
// NS1
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
// NS1
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
// NS1
|
||||
|
||||
include "../../common/rndc.key";
|
||||
include "../../_common/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
|
@@ -62,7 +62,7 @@ options {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "rpz" {
|
||||
|
@@ -68,7 +68,7 @@ dnssec-policy "not-enough-hours-in-day" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "trusted" {
|
||||
|
@@ -75,7 +75,7 @@ dnssec-policy "autonsec3" {
|
||||
|
||||
zone "." {
|
||||
type hint;
|
||||
file "../../common/root.hint";
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user