mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add regression test for [GL #4987]
This commit is contained in:
parent
840eaa628d
commit
677abded6b
2 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ options {
|
|||
listen-on { none; };
|
||||
listen-on-v6 { fd92:7065:b8e:ffff::9; };
|
||||
recursion yes;
|
||||
recursive-clients 0; // regression test for [GL #4987]
|
||||
dnssec-validation yes;
|
||||
dual-stack-servers { fd92:7065:b8e:ffff::7; };
|
||||
qname-minimization off;
|
||||
|
|
|
|||
|
|
@ -53,6 +53,11 @@ ISC_RUN_TEST_IMPL(isc_quota_get_set) {
|
|||
assert_int_equal(isc_quota_getused("a), 1);
|
||||
isc_quota_release("a);
|
||||
assert_int_equal(isc_quota_getused("a), 0);
|
||||
|
||||
/* Unlimited */
|
||||
isc_quota_max("a, 0);
|
||||
isc_quota_soft("a, 0);
|
||||
|
||||
isc_quota_destroy("a);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue