From 47f1ce7e551547b7cf73ca4aa1934374fcecf50e Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Fri, 27 Nov 2015 12:27:21 +0200 Subject: [PATCH] Update test suite --- .../regression-tests/region-a-resolution/command | 2 +- .../regression-tests/region-cname-resolution/command | 2 +- .../regression-tests/text-interpolation/command | 2 +- regression-tests/backends/geoip-master | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/geoipbackend/regression-tests/region-a-resolution/command b/modules/geoipbackend/regression-tests/region-a-resolution/command index 432a2e9aa..de4402b58 100755 --- a/modules/geoipbackend/regression-tests/region-a-resolution/command +++ b/modules/geoipbackend/regression-tests/region-a-resolution/command @@ -1,2 +1,2 @@ #!/bin/sh -nameserver=$geoipregionip cleandig www.geo.example.com A +cleandig www.geo.example.com A ednssubnet 1.2.3.4/32 diff --git a/modules/geoipbackend/regression-tests/region-cname-resolution/command b/modules/geoipbackend/regression-tests/region-cname-resolution/command index 8c2a917d1..323ac16c2 100755 --- a/modules/geoipbackend/regression-tests/region-cname-resolution/command +++ b/modules/geoipbackend/regression-tests/region-cname-resolution/command @@ -1,2 +1,2 @@ #!/bin/sh -nameserver=$geoipregionip cleandig indirect.geo.example.com A +cleandig indirect.geo.example.com A ednssubnet 1.2.3.4/32 diff --git a/modules/geoipbackend/regression-tests/text-interpolation/command b/modules/geoipbackend/regression-tests/text-interpolation/command index a855e0f18..f0b15ee21 100755 --- a/modules/geoipbackend/regression-tests/text-interpolation/command +++ b/modules/geoipbackend/regression-tests/text-interpolation/command @@ -1,2 +1,2 @@ #!/bin/sh -nameserver=$geoipregionip cleandig country.geo.example.com TXT +cleandig continent.geo.example.com TXT ednssubnet 1.2.3.4/32 diff --git a/regression-tests/backends/geoip-master b/regression-tests/backends/geoip-master index c40674a8c..9a5599ab1 100644 --- a/regression-tests/backends/geoip-master +++ b/regression-tests/backends/geoip-master @@ -49,13 +49,21 @@ domains: EOF cat > $testsdir/region-a-resolution/expected_result < $testsdir/region-cname-resolution/expected_result < $testsdir/text-interpolation/expected_result < pdns-geoip.conf <