Add regression test for [GL #4987]

(cherry picked from commit 677abded6b)
This commit is contained in:
Mark Andrews
2024-10-14 14:15:27 +11:00
parent 887e874e93
commit 10a599d3e8
2 changed files with 6 additions and 0 deletions

View File

@@ -53,6 +53,11 @@ ISC_RUN_TEST_IMPL(isc_quota_get_set) {
assert_int_equal(isc_quota_getused(&quota), 1);
isc_quota_release(&quota);
assert_int_equal(isc_quota_getused(&quota), 0);
/* Unlimited */
isc_quota_max(&quota, 0);
isc_quota_soft(&quota, 0);
isc_quota_destroy(&quota);
}