From 0793371d0cf493da4ca074a1c60c997abc946de6 Mon Sep 17 00:00:00 2001
From: Grigorii Demidov <grigorii.demidov@nic.cz>
Date: Thu, 6 Aug 2015 10:27:56 +0200
Subject: [PATCH] tests: config sections in tests/testdata/*.rpl contains only
 key:value pairs

---
 tests/testdata/iter_badraw.rpl               | 1 -
 tests/testdata/iter_cname_badauth.rpl        | 3 ---
 tests/testdata/iter_cname_cache.rpl          | 3 ---
 tests/testdata/iter_cname_double.rpl         | 3 ---
 tests/testdata/iter_cname_nx.rpl             | 3 ---
 tests/testdata/iter_cname_qnamecopy.rpl      | 3 ---
 tests/testdata/iter_cycle.rpl                | 3 ---
 tests/testdata/iter_cycle_noh.rpl            | 3 ---
 tests/testdata/iter_domain_sale.rpl          | 3 ---
 tests/testdata/iter_domain_sale_nschange.rpl | 3 ---
 tests/testdata/iter_donotq127.rpl            | 1 -
 tests/testdata/iter_formerr.rpl              | 3 ---
 tests/testdata/iter_hint_lame.rpl            | 3 ---
 tests/testdata/iter_lame_aaaa.rpl            | 3 ---
 tests/testdata/iter_lame_noaa.rpl            | 3 ---
 tests/testdata/iter_lame_nosoa.rpl           | 3 ---
 tests/testdata/iter_lamescrub.rpl            | 1 -
 tests/testdata/iter_minim_a.rpl              | 3 ---
 tests/testdata/iter_minim_a_nxdomain.rpl     | 3 ---
 tests/testdata/iter_minim_nonempty.rpl       | 3 ---
 tests/testdata/iter_minim_ns.rpl             | 3 ---
 tests/testdata/iter_mod.rpl                  | 3 ---
 tests/testdata/iter_ns_badaa.rpl             | 3 ---
 tests/testdata/iter_ns_badglue.rpl           | 3 ---
 tests/testdata/iter_ns_badip.rpl             | 3 ---
 tests/testdata/iter_ns_noglue.rpl            | 3 ---
 tests/testdata/iter_ns_spoof.rpl             | 2 --
 tests/testdata/iter_pc_a.rpl                 | 3 ---
 tests/testdata/iter_pc_aaaa.rpl              | 3 ---
 tests/testdata/iter_pcdiff.rpl               | 3 ---
 tests/testdata/iter_pcdirect.rpl             | 3 ---
 tests/testdata/iter_pclame.rpl               | 3 ---
 tests/testdata/iter_pcname.rpl               | 3 ---
 tests/testdata/iter_pcnamech.rpl             | 3 ---
 tests/testdata/iter_pcnamechrec.rpl          | 3 ---
 tests/testdata/iter_pcnamerec.rpl            | 3 ---
 tests/testdata/iter_pcttl.rpl                | 3 ---
 tests/testdata/iter_reclame_one.rpl          | 3 ---
 tests/testdata/iter_reclame_two.rpl          | 3 ---
 tests/testdata/iter_recurse.rpl              | 3 ---
 tests/testdata/iter_resolve.rpl              | 3 ---
 tests/testdata/iter_soamin.rpl               | 3 ---
 tests/testdata/iter_tcbit.rpl                | 3 ---
 43 files changed, 122 deletions(-)

diff --git a/tests/testdata/iter_badraw.rpl b/tests/testdata/iter_badraw.rpl
index d5334762b..dd5a77ce6 100644
--- a/tests/testdata/iter_badraw.rpl
+++ b/tests/testdata/iter_badraw.rpl
@@ -1,4 +1,3 @@
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cname_badauth.rpl b/tests/testdata/iter_cname_badauth.rpl
index 9c2dd4af7..01b074c25 100644
--- a/tests/testdata/iter_cname_badauth.rpl
+++ b/tests/testdata/iter_cname_badauth.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "3 2 1 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cname_cache.rpl b/tests/testdata/iter_cname_cache.rpl
index 135fe39f8..56a82dffe 100644
--- a/tests/testdata/iter_cname_cache.rpl
+++ b/tests/testdata/iter_cname_cache.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cname_double.rpl b/tests/testdata/iter_cname_double.rpl
index 6e1cd2055..bb8dcd195 100644
--- a/tests/testdata/iter_cname_double.rpl
+++ b/tests/testdata/iter_cname_double.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cname_nx.rpl b/tests/testdata/iter_cname_nx.rpl
index cb80aa5fc..6c62aee1b 100644
--- a/tests/testdata/iter_cname_nx.rpl
+++ b/tests/testdata/iter_cname_nx.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cname_qnamecopy.rpl b/tests/testdata/iter_cname_qnamecopy.rpl
index 6e0613b2e..b774f4205 100644
--- a/tests/testdata/iter_cname_qnamecopy.rpl
+++ b/tests/testdata/iter_cname_qnamecopy.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cycle.rpl b/tests/testdata/iter_cycle.rpl
index fd1cf238a..3683f805b 100644
--- a/tests/testdata/iter_cycle.rpl
+++ b/tests/testdata/iter_cycle.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_cycle_noh.rpl b/tests/testdata/iter_cycle_noh.rpl
index 53186aeab..10a350347 100644
--- a/tests/testdata/iter_cycle_noh.rpl
+++ b/tests/testdata/iter_cycle_noh.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	harden-glue: "no"
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_domain_sale.rpl b/tests/testdata/iter_domain_sale.rpl
index 06e25b645..e4a4baa00 100644
--- a/tests/testdata/iter_domain_sale.rpl
+++ b/tests/testdata/iter_domain_sale.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_domain_sale_nschange.rpl b/tests/testdata/iter_domain_sale_nschange.rpl
index 45efc4f4b..2f62707e5 100644
--- a/tests/testdata/iter_domain_sale_nschange.rpl
+++ b/tests/testdata/iter_domain_sale_nschange.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_donotq127.rpl b/tests/testdata/iter_donotq127.rpl
index d8bc79dee..32b814c76 100644
--- a/tests/testdata/iter_donotq127.rpl
+++ b/tests/testdata/iter_donotq127.rpl
@@ -1,5 +1,4 @@
 ; config options
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_formerr.rpl b/tests/testdata/iter_formerr.rpl
index c541f83b9..10cf0741f 100644
--- a/tests/testdata/iter_formerr.rpl
+++ b/tests/testdata/iter_formerr.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	harden-referral-path: no
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
         name: "."
 	stub-addr: 193.0.14.129         # K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_hint_lame.rpl b/tests/testdata/iter_hint_lame.rpl
index d336343d7..bb31a686a 100644
--- a/tests/testdata/iter_hint_lame.rpl
+++ b/tests/testdata/iter_hint_lame.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_lame_aaaa.rpl b/tests/testdata/iter_lame_aaaa.rpl
index 8afef770f..32921d357 100644
--- a/tests/testdata/iter_lame_aaaa.rpl
+++ b/tests/testdata/iter_lame_aaaa.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_lame_noaa.rpl b/tests/testdata/iter_lame_noaa.rpl
index 44533b696..fbb3e243f 100644
--- a/tests/testdata/iter_lame_noaa.rpl
+++ b/tests/testdata/iter_lame_noaa.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	harden-referral-path: no
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
         name: "."
 	stub-addr: 193.0.14.129         # K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_lame_nosoa.rpl b/tests/testdata/iter_lame_nosoa.rpl
index 0751e40ea..33cdf2435 100644
--- a/tests/testdata/iter_lame_nosoa.rpl
+++ b/tests/testdata/iter_lame_nosoa.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_lamescrub.rpl b/tests/testdata/iter_lamescrub.rpl
index 25d419113..cbea932d5 100644
--- a/tests/testdata/iter_lamescrub.rpl
+++ b/tests/testdata/iter_lamescrub.rpl
@@ -1,5 +1,4 @@
 ; config options
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_minim_a.rpl b/tests/testdata/iter_minim_a.rpl
index 30bf300e6..612c716dc 100644
--- a/tests/testdata/iter_minim_a.rpl
+++ b/tests/testdata/iter_minim_a.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	query-minimization: on
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_minim_a_nxdomain.rpl b/tests/testdata/iter_minim_a_nxdomain.rpl
index cca9fa1e6..b94af24df 100644
--- a/tests/testdata/iter_minim_a_nxdomain.rpl
+++ b/tests/testdata/iter_minim_a_nxdomain.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	query-minimization: on
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_minim_nonempty.rpl b/tests/testdata/iter_minim_nonempty.rpl
index 2d65fe37d..1bdeacc06 100644
--- a/tests/testdata/iter_minim_nonempty.rpl
+++ b/tests/testdata/iter_minim_nonempty.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	query-minimization: on
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_minim_ns.rpl b/tests/testdata/iter_minim_ns.rpl
index 02709db19..0eefe2d06 100644
--- a/tests/testdata/iter_minim_ns.rpl
+++ b/tests/testdata/iter_minim_ns.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	query-minimization: on
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_mod.rpl b/tests/testdata/iter_mod.rpl
index 5fc243bb9..8fed4f1a1 100644
--- a/tests/testdata/iter_mod.rpl
+++ b/tests/testdata/iter_mod.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	module-config: "iterator"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_ns_badaa.rpl b/tests/testdata/iter_ns_badaa.rpl
index bb8a8f170..9450f747d 100644
--- a/tests/testdata/iter_ns_badaa.rpl
+++ b/tests/testdata/iter_ns_badaa.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "3 2 1 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_ns_badglue.rpl b/tests/testdata/iter_ns_badglue.rpl
index 90700795f..1c1230028 100644
--- a/tests/testdata/iter_ns_badglue.rpl
+++ b/tests/testdata/iter_ns_badglue.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "3 2 1 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_ns_badip.rpl b/tests/testdata/iter_ns_badip.rpl
index 7e379a4dc..366e18af2 100644
--- a/tests/testdata/iter_ns_badip.rpl
+++ b/tests/testdata/iter_ns_badip.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "3 2 1 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_ns_noglue.rpl b/tests/testdata/iter_ns_noglue.rpl
index 6bb33de42..121f5e8d6 100644
--- a/tests/testdata/iter_ns_noglue.rpl
+++ b/tests/testdata/iter_ns_noglue.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "3 2 1 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_ns_spoof.rpl b/tests/testdata/iter_ns_spoof.rpl
index d1b075415..13b784ab3 100644
--- a/tests/testdata/iter_ns_spoof.rpl
+++ b/tests/testdata/iter_ns_spoof.rpl
@@ -1,8 +1,6 @@
 ; config options
-server:
 	harden-referral-path: yes
 	target-fetch-policy: "0 0 0 0 0"
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pc_a.rpl b/tests/testdata/iter_pc_a.rpl
index 09c15ede9..9f6cc1fb4 100644
--- a/tests/testdata/iter_pc_a.rpl
+++ b/tests/testdata/iter_pc_a.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pc_aaaa.rpl b/tests/testdata/iter_pc_aaaa.rpl
index 959cc7a4e..120e455b3 100644
--- a/tests/testdata/iter_pc_aaaa.rpl
+++ b/tests/testdata/iter_pc_aaaa.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcdiff.rpl b/tests/testdata/iter_pcdiff.rpl
index c247a2597..8ff4a5978 100644
--- a/tests/testdata/iter_pcdiff.rpl
+++ b/tests/testdata/iter_pcdiff.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcdirect.rpl b/tests/testdata/iter_pcdirect.rpl
index fd42f8157..7cf5aafb9 100644
--- a/tests/testdata/iter_pcdirect.rpl
+++ b/tests/testdata/iter_pcdirect.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pclame.rpl b/tests/testdata/iter_pclame.rpl
index 21273e396..ce9894593 100644
--- a/tests/testdata/iter_pclame.rpl
+++ b/tests/testdata/iter_pclame.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcname.rpl b/tests/testdata/iter_pcname.rpl
index ab84a6a55..240dd1f0b 100644
--- a/tests/testdata/iter_pcname.rpl
+++ b/tests/testdata/iter_pcname.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcnamech.rpl b/tests/testdata/iter_pcnamech.rpl
index 527ff5d18..df64dd181 100644
--- a/tests/testdata/iter_pcnamech.rpl
+++ b/tests/testdata/iter_pcnamech.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcnamechrec.rpl b/tests/testdata/iter_pcnamechrec.rpl
index e1566172c..078ed7046 100644
--- a/tests/testdata/iter_pcnamechrec.rpl
+++ b/tests/testdata/iter_pcnamechrec.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcnamerec.rpl b/tests/testdata/iter_pcnamerec.rpl
index bc2e01c85..d5cce88d9 100644
--- a/tests/testdata/iter_pcnamerec.rpl
+++ b/tests/testdata/iter_pcnamerec.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_pcttl.rpl b/tests/testdata/iter_pcttl.rpl
index 2b1693819..450b8bb69 100644
--- a/tests/testdata/iter_pcttl.rpl
+++ b/tests/testdata/iter_pcttl.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
 	do-ip6: no
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_reclame_one.rpl b/tests/testdata/iter_reclame_one.rpl
index e9dce6d06..9684bd1bc 100644
--- a/tests/testdata/iter_reclame_one.rpl
+++ b/tests/testdata/iter_reclame_one.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_reclame_two.rpl b/tests/testdata/iter_reclame_two.rpl
index df044275a..4da07542b 100644
--- a/tests/testdata/iter_reclame_two.rpl
+++ b/tests/testdata/iter_reclame_two.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_recurse.rpl b/tests/testdata/iter_recurse.rpl
index 60a50f1ab..aa85ad620 100644
--- a/tests/testdata/iter_recurse.rpl
+++ b/tests/testdata/iter_recurse.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_resolve.rpl b/tests/testdata/iter_resolve.rpl
index d10924961..f92b86dea 100644
--- a/tests/testdata/iter_resolve.rpl
+++ b/tests/testdata/iter_resolve.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_soamin.rpl b/tests/testdata/iter_soamin.rpl
index 4988de6f2..f08752b5d 100644
--- a/tests/testdata/iter_soamin.rpl
+++ b/tests/testdata/iter_soamin.rpl
@@ -1,8 +1,5 @@
 ; config options
-server:
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
 	name: "."
 	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
 CONFIG_END
diff --git a/tests/testdata/iter_tcbit.rpl b/tests/testdata/iter_tcbit.rpl
index f5c85950a..e72cfca65 100644
--- a/tests/testdata/iter_tcbit.rpl
+++ b/tests/testdata/iter_tcbit.rpl
@@ -1,9 +1,6 @@
 ; config options
-server:
 	harden-referral-path: no
 	target-fetch-policy: "0 0 0 0 0"
-
-stub-zone:
         name: "."
 	stub-addr: 193.0.14.129         # K.ROOT-SERVERS.NET.
 CONFIG_END
-- 
GitLab