diff options
author | asomers <asomers@FreeBSD.org> | 2017-08-25 14:42:11 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2017-08-25 14:42:11 +0000 |
commit | 675d2b5f8cfc4579a745129bd67030c79008085d (patch) | |
tree | e63d7fdd9af1f324ffdec07920cfcd78701dd522 /tests | |
parent | d5b284479a97e9f117d81370f99dadcdf1c1f762 (diff) | |
download | FreeBSD-src-675d2b5f8cfc4579a745129bd67030c79008085d.zip FreeBSD-src-675d2b5f8cfc4579a745129bd67030c79008085d.tar.gz |
MFC r321332:
Implement SIGEV_THREAD notifications for lio_listio(2)
Our man pages have always indicated that this was supported, but in fact the
feature was never implemented for lio_listio(2).
Reviewed by: jhb, kib (earlier version)
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D11680
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/aio/lio_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sys/aio/lio_test.c b/tests/sys/aio/lio_test.c index 0e26aaa..a87933c 100644 --- a/tests/sys/aio/lio_test.c +++ b/tests/sys/aio/lio_test.c @@ -119,8 +119,8 @@ ATF_TC_BODY(lio_listio_empty_nowait_thread, tc) struct aiocb *list = NULL; struct sigevent sev; - atf_tc_expect_fail("Bug 220459 - lio_listio(2) doesn't support" - " SIGEV_THREAD"); + atf_tc_expect_timeout("Bug 220398 - lio_listio(2) never sends" + "asynchronous notification if nent==0"); ATF_REQUIRE_EQ(0, sem_init(&completions, false, 0)); bzero(&sev, sizeof(sev)); sev.sigev_notify = SIGEV_THREAD; |