[Bug 236857] Fix sysctl check for some sys/audit/process-control tests
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 29 01:02:24 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236857
--- Comment #8 from Alan Somers <asomers at FreeBSD.org> ---
Actually, ATF_REQUIRE_FEATURE is correct, it just isn't obvious. You have to
look at the source for feature_present(3) in lib/libc/gen/feature_present.c to
see that it does just what you want. It returns true if the sysctl exists and
its value is unequal to 0.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list