Commit fdc2c41b authored by Michal Vaner's avatar Michal Vaner
Browse files

Cover another failure scenario in tests

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac451@4044 e5f2f494-b856-4b98-b285-d166d9295462
parent c6b91c2e
......@@ -295,6 +295,10 @@ TEST_F(MemoryZoneTest, load) {
// But this should no longer be here
findTest(ns_name_, RRType::AAAA(), Zone::NXDOMAIN, true, ConstRRsetPtr(),
&rootzone);
// Try loading zone that is wrong in a different way
EXPECT_THROW(zone_.load(TEST_DATA_DIR "/duplicate_rrset.zone"),
MasterLoadError);
}
}
example.org. 3600 IN SOA ns1.example.org. admin.example.org. 1234 3600 1800 2419200 7200
example.org. 3600 IN NS ns1.example.org.
example.org. 3600 IN MX 10 mail.example.org.
example.org. 3600 IN NS ns2.example.org.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment