Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros fortesting for kernel features via the feature_present(3) libcallThe semantics are similar to the other macros in the header (skiptestcase with ATF macro; exit with appropriate exit code with thePLAIN macro)MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Fix typo. It should have been atf_tc_skip, not atf_skipReported by: many, JenkinsPointyhat to: ngieMFC after: 4 days
ATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcaseno longer bombs outPLAIN_REQUIRE_KERNEL_MODULE: use printf + _exit, no err so the testcase nolonger bombs out if it prints to stderrMFC after: 5 days
Add initial (unpolished) macros for interfacing with the FreeBSD test suiteThis is very rough, but will be replaced/redesigned some time soon after I fixthe Jenkins breakage I introducedMFC after: 6 days