Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
ses: cleanup ses testsAddress mav's feedback RE eea7c61590aeSee also: https://reviews.freebsd.org/D31809Reported by: mavMFC after: 2 weeksMFC with: eea7c61590ae8968b3f1f609cf0bc8633222a94fSp
ses: cleanup ses testsAddress mav's feedback RE eea7c61590aeSee also: https://reviews.freebsd.org/D31809Reported by: mavMFC after: 2 weeksMFC with: eea7c61590ae8968b3f1f609cf0bc8633222a94fSponsored by: AxcientReviewed by: mavDifferential Revision: https://reviews.freebsd.org/D33954
show more ...
tests/sys/ses: Use ANSI C definition for has_ses.This fixes -Wstrict-prototypes and -Wold-style-definition warningsfrom GCC 9.
Fix test of ses(4) when there is no SES device existsglob(3) returns GLOB_NOMATCH if GLOB_NOCHECK or GLOB_NOMAGIC flag is notpassed so ATF_REQUIRE_EQ(r, 0) will cause a precondition check failure
Fix test of ses(4) when there is no SES device existsglob(3) returns GLOB_NOMATCH if GLOB_NOCHECK or GLOB_NOMAGIC flag is notpassed so ATF_REQUIRE_EQ(r, 0) will cause a precondition check failure if no/dev/ses* exists.Remove calling of atf_tc_skip() in ATF_TC_CLEANUP() because it would letthe clean up procedure unfinish.While here, fix a set-but-not-used warning.Reviewed by: asomersDifferential Revision: https://reviews.freebsd.org/D34056
Add tests for ses(4)The tests require SES hardware. Without it, the test cases will beskipped.Reviewed by: kenDifferential Revision: https://reviews.freebsd.org/D31809Sponsored by: AxcientMF
Add tests for ses(4)The tests require SES hardware. Without it, the test cases will beskipped.Reviewed by: kenDifferential Revision: https://reviews.freebsd.org/D31809Sponsored by: AxcientMFC after: 2 weeks