From 2303a61240f9985a9c9a19c13d19b74dbbf573dc Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 5 Oct 2012 09:17:36 +0000 Subject: [PATCH] add remotebackend test git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2759 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- .../remotebackend/regression-tests/basic-a-resolution/command | 3 +++ .../regression-tests/basic-a-resolution/description | 2 ++ .../regression-tests/basic-a-resolution/expected_result | 3 +++ 3 files changed, 8 insertions(+) create mode 100755 modules/remotebackend/regression-tests/basic-a-resolution/command create mode 100644 modules/remotebackend/regression-tests/basic-a-resolution/description create mode 100644 modules/remotebackend/regression-tests/basic-a-resolution/expected_result 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 -- 2.40.0