]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r280893:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Apr 2015 04:49:45 +0000 (04:49 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Apr 2015 04:49:45 +0000 (04:49 +0000)
commite5ecc4621971c9f61aef7108cc4cd8eab0bc7827
tree4cb3368344680f572de57d4a5fee7eba2474e1e3
parent1e5b96264d2860a591b44132b26114ed6b3ad8f5
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@281969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/aio/aiotest/Makefile
tools/regression/aio/aiotest/aiotest.c