diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-25 04:49:45 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-25 04:49:45 +0000 |
commit | 70eb2d81410b8dedf542c6b3ef6793bed481c88e (patch) | |
tree | 4cb3368344680f572de57d4a5fee7eba2474e1e3 /tools/regression/sockets/sblock/sblock.c | |
parent | f3802269103f598ff81512dafc1cc3e7d669a082 (diff) | |
download | FreeBSD-src-70eb2d81410b8dedf542c6b3ef6793bed481c88e.zip FreeBSD-src-70eb2d81410b8dedf542c6b3ef6793bed481c88e.tar.gz |
MFC r280893:
Cleanup and do minor refactoring before converting testcases to ATF
- Convert errx(-1, ..) to errx(1, ..)
- Move the aio(4) checks to a single function (aio_available); use modfind(2)
instead of depending on SIGSYS (doesn't work when aio(4) support is missing,
not documented in the aio syscall manpages).
- Use aio_available liberally in the testcase functions
- Use mkstemp(3) + unlink(2) instead of mktemp(3)
- Fix some -Wunused warnings
- Bump WARNS to 6
Submitted by: mjohnston [*]
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools/regression/sockets/sblock/sblock.c')
0 files changed, 0 insertions, 0 deletions