From: Mark Andrews Date: Mon, 14 Oct 2024 03:15:27 +0000 (+1100) Subject: Add regression test for [GL #4987] X-Git-Tag: v9.21.3~75^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=677abded6b7457f5af79079191082b0b3ccccdc8;p=thirdparty%2Fbind9.git Add regression test for [GL #4987] --- diff --git a/bin/tests/system/resolver/ns9/named.conf.in b/bin/tests/system/resolver/ns9/named.conf.in index 140cd26b58d..bfc979ca6fd 100644 --- a/bin/tests/system/resolver/ns9/named.conf.in +++ b/bin/tests/system/resolver/ns9/named.conf.in @@ -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; diff --git a/tests/isc/quota_test.c b/tests/isc/quota_test.c index 59e865852da..25753d59a49 100644 --- a/tests/isc/quota_test.c +++ b/tests/isc/quota_test.c @@ -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); }