]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r280893,r280894,r280895:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 May 2015 22:13:11 +0000 (22:13 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 May 2015 22:13:11 +0000 (22:13 +0000)
commit35617beb65f5a0c868e0c06b92cfcbebc8d99659
tree9a27459932ba51ca7e8b6499d641db0a27dc061f
parent6e49877afaef87df7db792426e056638d3cd5708
MFC r280893,r280894,r280895:

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

r280894:

Minor cleanup before converting to ATF testcases

- Remove blank (tab-only) lines.
- Fix -Wunused warnings.
- Bump up to WARNS= 6

r280895:

- Fix -Wsign issue
- Bump up to WARNS=6

git-svn-id: svn://svn.freebsd.org/base/stable/9@282992 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/aio/kqueue/Makefile
tools/regression/aio/kqueue/aio_kqueue.c
tools/regression/aio/kqueue/lio/Makefile
tools/regression/aio/kqueue/lio/lio_kqueue.c