Browse Source

expand on the rootDS test a bit

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1489 e5f2f494-b856-4b98-b285-d166d9295462
Evan Hunt 15 years ago
parent
commit
82b9f77b1a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/lib/auth/tests/datasrc_unittest.cc

+ 3 - 1
src/lib/auth/tests/datasrc_unittest.cc

@@ -729,7 +729,9 @@ TEST_F(DataSrcTest, NSECZonecutOfNonsecureZone) {
 }
 
 TEST_F(DataSrcTest, RootDSQuery) {
-    createAndProcessQuery(Name("."), RRClass::IN(), RRType::DS());
+    EXPECT_NO_THROW(createAndProcessQuery(Name("."), RRClass::IN(),
+                                          RRType::DS()));
+    headerCheck(msg, Rcode::REFUSED(), true, false, true, 0, 0, 0);
 }
 
 // Non-existent name in the "static" data source.  The purpose of this test