From: Michal 'vorner' Vaner Date: Thu, 24 Jan 2013 18:27:12 +0000 (+0100) Subject: [2439] Lettuce tests for post-xfrin validation X-Git-Tag: bind10-1.0.0-rc-release~25^2~13^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcd93a56893257541fbe19fcd112f7fdda5cb7bb;p=thirdparty%2Fkea.git [2439] Lettuce tests for post-xfrin validation Check the data in existing tests produce warnings, but the data is still accepted. --- diff --git a/tests/lettuce/features/xfrin_bind10.feature b/tests/lettuce/features/xfrin_bind10.feature index 34674ca4f3..324a3db3da 100644 --- a/tests/lettuce/features/xfrin_bind10.feature +++ b/tests/lettuce/features/xfrin_bind10.feature @@ -25,6 +25,13 @@ Feature: Xfrin A query for www.example.org to [::1]:47806 should have rcode REFUSED When I send bind10 the command Xfrin retransfer example.org IN ::1 47807 + # The data we receive contain a NS RRset that refers to three names in the + # example.org. zone. All these three are nonexistent in the data, producing + # 3 separate warning messages in the log. + And wait for new bind10 stderr message XFRIN_ZONE_WARN + And wait for new bind10 stderr message XFRIN_ZONE_WARN + And wait for new bind10 stderr message XFRIN_ZONE_WARN + # But after complaining, the zone data should be accepted. Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE Then wait for new bind10 stderr message ZONEMGR_RECEIVE_XFRIN_SUCCESS A query for www.example.org to [::1]:47806 should have rcode NOERROR