aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/ses
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-163-6/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* ses: cleanup ses testsAlan Somers2023-03-272-31/+60
| | | | | | | | | | | | | Address mav's feedback RE eea7c61590ae See also: https://reviews.freebsd.org/D31809 Reported by: mav MFC after: 2 weeks MFC with: eea7c61590ae8968b3f1f609cf0bc8633222a94f Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D33954
* tests/sys/ses: Use ANSI C definition for has_ses.John Baldwin2022-02-011-1/+1
| | | | | This fixes -Wstrict-prototypes and -Wold-style-definition warnings from GCC 9.
* Fix test of ses(4) when there is no SES device existsLi-Wen Hsu2022-01-263-12/+47
| | | | | | | | | | | | | | glob(3) returns GLOB_NOMATCH if GLOB_NOCHECK or GLOB_NOMAGIC flag is not passed 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 let the clean up procedure unfinish. While here, fix a set-but-not-used warning. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D34056
* Add tests for ses(4)Alan Somers2022-01-194-0/+995
The tests require SES hardware. Without it, the test cases will be skipped. Reviewed by: ken Differential Revision: https://reviews.freebsd.org/D31809 Sponsored by: Axcient MFC after: 2 weeks