哈希:9d5a33d9c294b01cead6ff65b0773b5b5ab85ccd
作者:Enji Cooper <ngie@FreeBSD.org>
提交者:Enji Cooper <ngie@FreeBSD.org>
提交时间:2026-10-03 04:42:53 +0800
提交信息:
[tests] lib/libc/gen:assert_test: undefine `NDEBUG`
In the event `NDEBUG` was defined, `assert` would become a no-op,
breaking some of the expectations in `assert_test` around `assert(..)`
failing generating a coredump.
This is a better approach than the previous one committed in 6f3445006a
as it continues to test the `assert(..)` function instead of just
skipping it if `NDEBUG` was defined.
Suggested by: kevans
MFC after: 4 days
MFC with: 6f3445006a
Fixes: 6f3445006a
Differential Revision: https://reviews.freebsd.org/D60253
Index of /FreeBSD-16-amd64/16.snap20261003022240/latest/