Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> --- test/defer-taskrun.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/defer-taskrun.c b/test/defer-taskrun.c index aec8c5d..c6e0ea0 100644 --- a/test/defer-taskrun.c +++ b/test/defer-taskrun.c @@ -142,8 +142,7 @@ static int test_thread_shutdown(void) if (ret) return ret; - /* check that even before submitting we don't get errors */ - CHECK(io_uring_get_events(&td.ring) == 0); + CHECK(io_uring_get_events(&td.ring) == -EEXIST); td.efd = eventfd(0, 0); CHECK(td.efd >= 0); -- 2.37.2