Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros for
authorngie <ngie@FreeBSD.org>
Wed, 16 Dec 2015 05:44:53 +0000 (05:44 +0000)
committerngie <ngie@FreeBSD.org>
Wed, 16 Dec 2015 05:44:53 +0000 (05:44 +0000)
commitf990abc0015f0d89da088f70145cd0d63b56728b
treefbf19a089c228a780b0cd2581fedaf0113d32d7e
parenta024657320f7ca7fb8eab6c07145aef0ffbaae11
Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros for
testing for kernel features via the feature_present(3) libcall

The semantics are similar to the other macros in the header (skip
testcase with ATF macro; exit with appropriate exit code with the
PLAIN macro)

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
tests/freebsd_test_suite/macros.h