Add regression test for [GL #4987]
(cherry picked from commit 677abded6b)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user