]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Stabilize the "gost" system test
authorMichał Kępień <michal@isc.org>
Mon, 11 Mar 2019 12:30:40 +0000 (13:30 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 11 Mar 2019 12:32:02 +0000 (13:32 +0100)
In the "gost" system test, the ./NS RRset returned in the response to
ns2's priming query might not yet be validated when ns2 assembles the
response to the ./SOA query.  If that happens, the ./NS RRset will not
be placed in the AUTHORITY section of the response to the ./SOA query,
triggering a false positive for the "gost" system test as the ./NS RRset
is always present in the response sent by ns1 (since it is authoritative
for the root zone).  As the purpose of the "gost" system test is to
check whether a zone signed using GOST is properly validated and only
positive responses are inspected, use the +noauth dig option for all
queries in that test, so that the contents of the AUTHORITY section do
not influence its outcome.

bin/tests/system/gost/tests.sh

index 516f0c13501821800e7e91cb3886a8f039d6f297..75b577f1bb2a561a72d0a43467d27db1169e3142 100644 (file)
@@ -17,7 +17,7 @@ n=0
 
 rm -f dig.out.*
 
-DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p 5300"
+DIGOPTS="+tcp +noadd +noauth +nosea +nostat +nocmd +dnssec -p 5300"
 
 # Check the example. domain