Commit 0646e7b0 authored by Petr Špaček's avatar Petr Špaček

resolver: disable query minimization for module tests

These tests should not be affected by query minimization so it is not
worth the complexity added by entries required for query minimization.
parent e56d01c2
; config options
stub-addr: 1.2.3.4
feature-list: policy=policy:add(policy.suffix_common(policy.DENY, policy.todnames({'example.cz', 'nic.cz'}), todname('cz')))
query-minimization: off
CONFIG_END
SCENARIO_BEGIN DENY policy test, uses policy.common_suffix and policy.todnames
......
......@@ -2,6 +2,7 @@
stub-addr: 1.2.3.4
feature-list: policy=policy:add(policy.suffix(policy.DENY, {todname('nic.cz')}))
feature-list: policy=policy:add(policy.pattern(policy.DENY, '\8example[0-8]\2cz'))
query-minimization: off
CONFIG_END
SCENARIO_BEGIN DENY policy test; uses policy.suffix, policy.pattern, todname
......
......@@ -2,6 +2,7 @@
stub-addr: 1.2.3.4
feature-list: policy=policy:add(policy.pattern(policy.PASS, todname('dummy.example.cz')))
feature-list: policy=policy:add(policy.suffix(policy.DENY, {todname('example.cz')}))
query-minimization: off
CONFIG_END
SCENARIO_BEGIN PASS, DENY policy test; uses policy.pattern and policy.suffix
......
; config options
stub-addr: 1.2.3.4
feature-list: policy=policy:add(policy.rpz(policy.DENY, '{{INSTALL_DIR}}/sets/resolver/zone.rpz'))
query-minimization: off
CONFIG_END
SCENARIO_BEGIN policy.rpz test
......
; config options
stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
features: renumber_src = 1.2.3.0/24; renumber_dst = 4.5.6.0
query-minimization: off
CONFIG_END
SCENARIO_BEGIN Simple renumber module test
......
......@@ -2,6 +2,7 @@
stub-addr: 1.2.3.4
feature-list: view=view:addr('127.0.0.0/24', policy.suffix(policy.DENY,{"\3com\0"}))
feature-list: view=view:addr('127.0.0.0/24', policy.suffix(policy.FORWARD('1.2.3.4'),{"\2cz\0"}))
query-minimization: off
CONFIG_END
SCENARIO_BEGIN view:addr test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment