summaryrefslogtreecommitdiffhomepage
path: root/src/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'src/selftest')
-rw-r--r--src/selftest/ratelimiter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/selftest/ratelimiter.h b/src/selftest/ratelimiter.h
index 7e017ce..0bdff1e 100644
--- a/src/selftest/ratelimiter.h
+++ b/src/selftest/ratelimiter.h
@@ -146,6 +146,8 @@ err_nofree:
ratelimiter_uninit();
ratelimiter_uninit();
ratelimiter_uninit();
+ /* Uninit one extra time to check underflow detection. */
+ ratelimiter_uninit();
out:
if (ret)
pr_info("ratelimiter self-tests: pass\n");