bind9/bin/tests/system/resolver
Michał Kępień 24b9ec555a Do not treat a referral with a non-empty ANSWER section as an error
As part of resquery_response() refactoring [1], a goto statement was
replaced [2] with a call to a new function - originally called
rctx_delegation(), now folded into rctx_answer_none() - extracted from
existing code.  However, one call site of that refactored function does
not reset the "result" variable, causing a referral with a non-empty
ANSWER section to be inadvertently treated as an error, which prevents
resolution of names reliant on servers sending such responses.  Fix by
resetting the "result" variable to ISC_R_SUCCESS when a response
containing a non-empty ANSWER section can be treated as a delegation.

[1] see RT #45362

[2] see commit e1380a16741a3b4a57e54d7a9ce09dd12691522f
2018-08-22 10:14:37 +02:00
..
ans2 Do not treat a referral with a non-empty ANSWER section as an error 2018-08-22 10:14:37 +02:00
ans3 Do not treat a referral with a non-empty ANSWER section as an error 2018-08-22 10:14:37 +02:00
ans8 [squash] Make resolver tests even more civilized (ans8.pl) 2018-07-17 13:01:42 +02:00
ns1 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns4 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns5 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns6 Replace duplicated code snippet with calls to helper functions 2018-06-13 07:57:40 +02:00
ns7 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
clean.sh update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
prereq.sh RSA and ECDSA cryptography is now mandatory; remove the checks for those 2018-07-19 12:47:03 -04:00
setup.sh Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
tests.sh Do not treat a referral with a non-empty ANSWER section as an error 2018-08-22 10:14:37 +02:00