aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/testdata/fast_reload_most_options.tdir
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/testdata/fast_reload_most_options.tdir')
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/auth.nlnetlabs.nl.zone3
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.conf143
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.dsc16
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.post11
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.pre33
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.test42
-rw-r--r--contrib/unbound/testdata/fast_reload_most_options.tdir/rpz.nlnetlabs.nl.zone5
7 files changed, 0 insertions, 253 deletions
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/auth.nlnetlabs.nl.zone b/contrib/unbound/testdata/fast_reload_most_options.tdir/auth.nlnetlabs.nl.zone
deleted file mode 100644
index 55b8d34a9e4e..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/auth.nlnetlabs.nl.zone
+++ /dev/null
@@ -1,3 +0,0 @@
-$ORIGIN auth.nlnetlabs.nl.
-$TTL 60
-@ IN SOA a b 1 2 3 4 5
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.conf b/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.conf
deleted file mode 100644
index eda3d6763a41..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.conf
+++ /dev/null
@@ -1,143 +0,0 @@
-# Try to define values for options that don't have "default" options that would
-# trigger fast-reload functionality.
-server:
- verbosity: 4
- num-threads: 4
- interface: 127.0.0.1
- interface: lo
- port: @PORT@
- interface-action: lo allow
- use-syslog: no
- directory: ""
- pidfile: "unbound.pid"
- chroot: ""
- username: ""
- do-not-query-localhost: no
-
- module-config: "respip validator iterator"
-
- outgoing-interface: 127.0.0.1
- outgoing-port-avoid: "3200-3208"
-
- define-tag: "tag1 tag2 tag3"
-
- do-nat64: yes
- nat64-prefix: 64:ff9b::0/96
- dns64-prefix: 64:ff9b::0/96
- dns64-ignore-aaaa: "ignore-aaaa.nlnetlabs.nl"
-
- edns-tcp-keepalive: yes
-
- response-ip: 192.0.2.0 always_refuse
- access-control: 127.0.0.0/8 allow
- access-control: ::1 allow
- access-control-tag: 192.0.2.0/24 "tag2 tag3"
- interface-tag: lo "tag2 tag3"
- access-control-tag-action: 192.0.2.0/24 tag3 always_refuse
- interface-tag-action: lo tag3 always_refuse
- access-control-tag-data: 192.0.2.0/24 tag2 "A 127.0.0.1"
- interface-tag-data: lo tag2 "A 127.0.0.1"
- access-control-view: 192.0.2.0/24 viewname
- interface-view: lo viewname
-
- nsid: "ascii_something"
-
- http-user-agent: "httpuseragent"
-
- caps-exempt: "nlnetlabs.nl"
-
- private-address: 10.0.0.0/8
- private-address: 172.16.0.0/12
- private-address: 192.168.0.0/16
- private-address: 169.254.0.0/16
- private-address: fd00::/8
- private-address: fe80::/10
- private-address: ::ffff:0:0/96
-
- private-domain: "nlnetlabs.nl"
-
- unwanted-reply-threshold: 10000000
-
- do-not-query-address: 1.1.1.1
- do-not-query-address: 8.8.8.8
- do-not-query-address: 9.9.9.9
-
- do-not-query-localhost: no
-
- trust-anchor: "jelte.nlnetlabs.nl. DS 42860 5 1 14D739EB566D2B1A5E216A0BA4D17FA9B038BE4A"
-
- domain-insecure: "nlnetlabs.nl"
-
- serve-expired: yes
- serve-expired-client-timeout: 1800
-
- val-log-level: 2
-
- local-zone: refuse.nlnetlabs.nl. refuse
- local-zone: override.nlnetlabs.nl. deny
- local-zone: tag.nlnetlabs.nl. transparent
- local-data: "data.nlnetlabs.nl. TXT localdata"
- local-data-ptr: "192.0.2.3 reverse.nlnetlabs.nl."
- local-zone-tag: "tag.nlnetlabs.nl" "tag2 tag3"
- local-zone-override: "override.nlnetlabs.nl" 192.0.2.0/24 refuse
-
-
- ratelimit: 100
- ratelimit-below-domain: ratelimit.nlnetlabs.nl 1000
- ip-ratelimit: 100
-
- tcp-connection-limit: 192.0.2.0/24 12
-
- answer-cookie: yes
- cookie-secret: "000102030405060708090a0b0c0d0e0f"
-
- ede: yes
- ede-serve-expired: yes
-
-remote-control:
- control-enable: yes
- control-interface: @CONTROL_PATH@/controlpipe.@CONTROL_PID@
- control-use-cert: no
-
-stub-zone:
- name: "stub.nlnetlabs.nl"
- stub-addr: 192.0.2.68
- stub-prime: no
- stub-first: no
- stub-tcp-upstream: no
- stub-tls-upstream: no
- stub-no-cache: no
-
-forward-zone:
- name: "forward.nlnetlabs.nl"
- forward-addr: 192.0.2.68
- forward-first: no
- forward-tcp-upstream: no
- forward-tls-upstream: no
- forward-no-cache: no
-
-auth-zone:
- name: "auth.nlnetlabs.nl"
- for-downstream: yes
- for-upstream: yes
- zonemd-check: no
- zonemd-reject-absence: no
- zonefile: "auth.nlnetlabs.nl.zone"
-
-view:
- name: "viewname"
- local-zone: "view.nlnetlabs.nl" redirect
- local-data: "view.nlnetlabs.nl A 192.0.2.3"
- local-data-ptr: "192.0.2.3 view.nlnetlabs.nl"
- view-first: no
-
-rpz:
- name: "rpz.nlnetlabs.nl"
- zonefile: "rpz.nlnetlabs.nl.zone"
- rpz-action-override: cname
- rpz-cname-override: www.example.org
- rpz-log: yes
- rpz-log-name: "example policy"
- rpz-signal-nxdomain-ra: no
- for-downstream: no
- tags: "tag3"
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.dsc b/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.dsc
deleted file mode 100644
index e0e8e9fd206e..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.dsc
+++ /dev/null
@@ -1,16 +0,0 @@
-BaseName: fast_reload_most_options
-Version: 1.0
-Description: Test fast reload on high verbosity with most options.
-CreationDate: Fri 28 Feb 2025 15:55:15 CET
-Maintainer: Yorgos Thessalonikefs
-Category:
-Component:
-CmdDepends:
-Depends:
-Help:
-Pre: fast_reload_most_options.pre
-Post: fast_reload_most_options.post
-Test: fast_reload_most_options.test
-AuxFiles:
-Passed:
-Failure:
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.post b/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.post
deleted file mode 100644
index 7fd25e3648d0..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.post
+++ /dev/null
@@ -1,11 +0,0 @@
-# #-- fast_reload_most_options.post --#
-# source the master var file when it's there
-[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
-# source the test var file when it's there
-[ -f .tpkg.var.test ] && source .tpkg.var.test
-#
-# do your teardown here
-. ../common.sh
-kill_pid $UNBOUND_PID
-rm -f $CONTROL_PATH/controlpipe.$CONTROL_PID
-cat unbound.log
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.pre b/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.pre
deleted file mode 100644
index 47e3642c65c4..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.pre
+++ /dev/null
@@ -1,33 +0,0 @@
-# #-- fast_reload_most_options.pre--#
-# source the master var file when it's there
-[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
-# use .tpkg.var.test for in test variable passing
-[ -f .tpkg.var.test ] && source .tpkg.var.test
-
-PRE="../.."
-. ../common.sh
-# if no threads; exit
-if grep -e "define HAVE_PTHREAD 1" -e "define HAVE_SOLARIS_THREADS 1" -e "define HAVE_WINDOWS_THREADS 1" $PRE/config.h; then
- echo "have threads"
-else
- skip_test "no threads"
-fi
-
-get_random_port 1
-UNBOUND_PORT=$RND_PORT
-echo "UNBOUND_PORT=$UNBOUND_PORT" >> .tpkg.var.test
-
-# make config file
-CONTROL_PATH=/tmp
-CONTROL_PID=$$
-sed -e 's/@PORT\@/'$UNBOUND_PORT'/' -e 's?@CONTROL_PATH\@?'$CONTROL_PATH'?' -e 's/@CONTROL_PID@/'$CONTROL_PID'/' < fast_reload_most_options.conf > ub.conf
-# start unbound in the background
-PRE="../.."
-$PRE/unbound -d -c ub.conf >unbound.log 2>&1 &
-UNBOUND_PID=$!
-echo "UNBOUND_PID=$UNBOUND_PID" >> .tpkg.var.test
-echo "CONTROL_PATH=$CONTROL_PATH" >> .tpkg.var.test
-echo "CONTROL_PID=$CONTROL_PID" >> .tpkg.var.test
-
-cat .tpkg.var.test
-wait_unbound_up unbound.log
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.test b/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.test
deleted file mode 100644
index 20799986071a..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/fast_reload_most_options.test
+++ /dev/null
@@ -1,42 +0,0 @@
-# #-- fast_reload_most_options.test --#
-# source the master var file when it's there
-[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
-# use .tpkg.var.test for in test variable passing
-[ -f .tpkg.var.test ] && source .tpkg.var.test
-
-PRE="../.."
-. ../common.sh
-
-echo "> unbound-control status"
-$PRE/unbound-control -c ub.conf status
-if test $? -ne 0; then
- echo "wrong exit value."
- exit 1
-else
- echo "exit value: OK"
-fi
-
-for i in {1..10}
-do
-
- echo "> unbound-control fast_reload +vvdp ($i)"
- $PRE/unbound-control -c ub.conf fast_reload +vvdp 2>&1 | tee output
- if test $? -ne 0; then
- echo "wrong exit value."
- exit 1
- else
- echo "exit value: OK"
- fi
- wait_logfile unbound.log "start fast reload thread" 60
- wait_logfile unbound.log "stop fast reload thread" 60
- wait_logfile unbound.log "joined with fastreload thread" 60
-
- if grep "ok" output; then
- echo "OK"
- else
- echo "output not correct"
- exit 1
- fi
-done
-
-exit 0
diff --git a/contrib/unbound/testdata/fast_reload_most_options.tdir/rpz.nlnetlabs.nl.zone b/contrib/unbound/testdata/fast_reload_most_options.tdir/rpz.nlnetlabs.nl.zone
deleted file mode 100644
index 71b37150692e..000000000000
--- a/contrib/unbound/testdata/fast_reload_most_options.tdir/rpz.nlnetlabs.nl.zone
+++ /dev/null
@@ -1,5 +0,0 @@
-$ORIGIN rpz.nlnetlabs.nl.
-$TTL 60
-@ IN SOA a b 1 2 3 4 5
-nxdomain.nlnetlabs.nl IN CNAME .
-rpzdata.nlnetlabs.nl IN A 0.0.0.0