]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r281969:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Apr 2015 05:05:23 +0000 (05:05 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Apr 2015 05:05:23 +0000 (05:05 +0000)
commitfaf1792f161a4c5d98a3182af1ba3607de922be0
tree395019f5e2b7c65d2c047c10ff4cad4d273bc0f3
parentc0b345592db6a3f17f2922a802b7815981167ef0
MFstable/10 r281969:

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/9@281971 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/aio/aiotest/Makefile
tools/regression/aio/aiotest/aiotest.c