mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
rem: dev: Clean up unnecessary code in qpcache
Removed some code from the cache database implementation that was left over from before it and the zone database implementation were separated. Merge branch 'each-qpcache-refactor' into 'main' See merge request isc-projects/bind9!9991
This commit is contained in:
commit
74c9ff384e
2 changed files with 451 additions and 693 deletions
|
|
@ -1483,6 +1483,7 @@ if [ -x "$DELV" ]; then
|
|||
|
||||
n=$((n + 1))
|
||||
echo_i "check that delv handles REFUSED when chasing DS records ($n)"
|
||||
ret=0
|
||||
delv_with_opts @10.53.0.2 +root xxx.example.tld A >delv.out.test$n 2>&1 || ret=1
|
||||
grep ";; resolution failed: broken trust chain" delv.out.test$n >/dev/null || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
|
|
@ -1490,9 +1491,11 @@ if [ -x "$DELV" ]; then
|
|||
|
||||
n=$((n + 1))
|
||||
echo_i "check NS output from delv +ns ($n)"
|
||||
ret=0
|
||||
delv_with_opts -i +ns +nortrace +nostrace +nomtrace +novtrace +hint=../_common/root.hint ns example >delv.out.test$n || ret=1
|
||||
lines=$(awk '$1 == "example." && $4 == "NS" {print}' delv.out.test$n | wc -l)
|
||||
[ $lines -eq 2 ] || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
||||
n=$((n + 1))
|
||||
|
|
|
|||
1141
lib/dns/qpcache.c
1141
lib/dns/qpcache.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue