From: Peter van Dijk Date: Fri, 5 Oct 2012 09:17:36 +0000 (+0000) Subject: add remotebackend test X-Git-Tag: auth-3.2-rc1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2303a61240f9985a9c9a19c13d19b74dbbf573dc;p=pdns add remotebackend test git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2759 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/modules/remotebackend/regression-tests/basic-a-resolution/command b/modules/remotebackend/regression-tests/basic-a-resolution/command new file mode 100755 index 000000000..9e2996ad2 --- /dev/null +++ b/modules/remotebackend/regression-tests/basic-a-resolution/command @@ -0,0 +1,3 @@ +#!/bin/sh +cleandig outpost.example.com A + diff --git a/modules/remotebackend/regression-tests/basic-a-resolution/description b/modules/remotebackend/regression-tests/basic-a-resolution/description new file mode 100644 index 000000000..51497ac48 --- /dev/null +++ b/modules/remotebackend/regression-tests/basic-a-resolution/description @@ -0,0 +1,2 @@ +This test tries to resolve a straight A record that is directly available in +the database. diff --git a/modules/remotebackend/regression-tests/basic-a-resolution/expected_result b/modules/remotebackend/regression-tests/basic-a-resolution/expected_result new file mode 100644 index 000000000..146e6035f --- /dev/null +++ b/modules/remotebackend/regression-tests/basic-a-resolution/expected_result @@ -0,0 +1,3 @@ +0 outpost.example.com. IN A 120 192.168.2.1 +Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 +Reply to question for qname='outpost.example.com.', qtype=A