From: Peter van Dijk Date: Tue, 13 Dec 2016 13:35:07 +0000 (+0100) Subject: hide ttl in RPZ tests to avoid random failures X-Git-Tag: dnsdist-1.1.0~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4767%2Fhead;p=thirdparty%2Fpdns.git hide ttl in RPZ tests to avoid random failures --- diff --git a/regression-tests.recursor/RPZ-Lua/command b/regression-tests.recursor/RPZ-Lua/command index 2d0d70aadf..ccdb9d615b 100755 --- a/regression-tests.recursor/RPZ-Lua/command +++ b/regression-tests.recursor/RPZ-Lua/command @@ -1,3 +1,3 @@ -$SDIG $nameserver 5301 www3.example.net a recurse 2>&1 -$SDIG $nameserver 5301 android.marvin.example.net a recurse 2>&1 -$SDIG $nameserver 5301 www5.example.net a recurse 2>&1 +$SDIG $nameserver 5301 www3.example.net a recurse hidettl 2>&1 +$SDIG $nameserver 5301 android.marvin.example.net a recurse hidettl 2>&1 +$SDIG $nameserver 5301 www5.example.net a recurse hidettl 2>&1 diff --git a/regression-tests.recursor/RPZ-Lua/expected_result b/regression-tests.recursor/RPZ-Lua/expected_result index 0b23b69618..add98b0fac 100644 --- a/regression-tests.recursor/RPZ-Lua/expected_result +++ b/regression-tests.recursor/RPZ-Lua/expected_result @@ -1,10 +1,10 @@ Reply to question for qname='www3.example.net.', qtype=A Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0 -0 www3.example.net. IN CNAME 0 www2.example.net. -0 www2.example.net. IN A 10 192.0.2.2 +0 www3.example.net. IN CNAME [ttl] www2.example.net. +0 www2.example.net. IN A [ttl] 192.0.2.2 Reply to question for qname='android.marvin.example.net.', qtype=A Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0 -0 android.marvin.example.net. IN A 15 192.0.2.5 +0 android.marvin.example.net. IN A [ttl] 192.0.2.5 Reply to question for qname='www5.example.net.', qtype=A Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0 -0 www5.example.net. IN A 0 192.0.2.25 +0 www5.example.net. IN A [ttl] 192.0.2.25