HomeFreeBSD

Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros for

Description

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

Details

Provenance
ngieAuthored on
Parents
rS292318: Add Makefile accidentally missed in r292317
Branches
Unknown
Tags
Unknown