freebsd-skq/tests/sys/aio/Makefile
asomers 11de77c3db lio_listio: return EAGAIN instead of EIO when out of resources
This behavior is already documented by the man page, and suggested by POSIX.

Reviewed by:	jhb
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D15099
2018-04-16 18:12:15 +00:00

23 lines
475 B
Makefile

# $FreeBSD$
TESTSDIR= ${TESTSBASE}/sys/aio
ATF_TESTS_C+= aio_test
ATF_TESTS_C+= lio_test
TEST_METADATA.aio_test+= timeout="30"
TEST_METADATA.lio_test+= timeout="10"
# Some lio_test testcases involve system resource limitations, so cannot run concurrently
TEST_METADATA.lio_test+= is_exclusive=true
PLAIN_TESTS_C+= aio_kqueue_test
PLAIN_TESTS_C+= lio_kqueue_test
LIBADD.aio_test+= util rt
LIBADD.lio_test+= rt
CFLAGS+= -I${.CURDIR:H:H}
WARNS?= 6
.include <bsd.test.mk>