From f737fa9006078189b1e6f062de7c4033d46aee53 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 20 Nov 2017 09:56:34 +0100 Subject: [PATCH] rec: Update the negcache's unit tests (validation status, DNSSEC type) --- pdns/recursordist/test-negcache_cc.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/recursordist/test-negcache_cc.cc b/pdns/recursordist/test-negcache_cc.cc index da1394750..1ea064791 100644 --- a/pdns/recursordist/test-negcache_cc.cc +++ b/pdns/recursordist/test-negcache_cc.cc @@ -356,11 +356,11 @@ BOOST_AUTO_TEST_CASE(test_clear) { BOOST_AUTO_TEST_CASE(test_dumpToFile) { NegCache cache; vector expected; - expected.push_back("www1.powerdns.com. 600 IN TYPE0 VIA powerdns.com.\n"); - expected.push_back("www1.powerdns.com. 600 IN ENT deadbeef. ; (Indeterminate)\n"); + expected.push_back("www1.powerdns.com. 600 IN TYPE0 VIA powerdns.com. ; (Indeterminate)\n"); + expected.push_back("www1.powerdns.com. 600 IN NSEC deadbeef. ; (Indeterminate)\n"); expected.push_back("www1.powerdns.com. 600 IN RRSIG NSEC 5 3 600 21000101000000 21000101000000 24567 dummy. data ;\n"); - expected.push_back("www2.powerdns.com. 600 IN TYPE0 VIA powerdns.com.\n"); - expected.push_back("www2.powerdns.com. 600 IN ENT deadbeef. ; (Indeterminate)\n"); + expected.push_back("www2.powerdns.com. 600 IN TYPE0 VIA powerdns.com. ; (Indeterminate)\n"); + expected.push_back("www2.powerdns.com. 600 IN NSEC deadbeef. ; (Indeterminate)\n"); expected.push_back("www2.powerdns.com. 600 IN RRSIG NSEC 5 3 600 21000101000000 21000101000000 24567 dummy. data ;\n"); struct timeval now; -- 2.40.0