Date: Fri, 29 Mar 2019 01:02:22 +0000 From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 236857] Fix sysctl check for some sys/audit/process-control tests Message-ID: <bug-236857-32464-Fno16Dic2R@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/> References: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236857 --- Comment #8 from Alan Somers <asomers@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236857-32464-Fno16Dic2R>
