* [PATCH liburing 1/1] tests: fixup defer-taskrun.c after api change
@ 2022-09-13 12:07 Pavel Begunkov
2022-09-13 15:23 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Begunkov @ 2022-09-13 12:07 UTC (permalink / raw)
To: io-uring; +Cc: Jens Axboe, asml.silence
Signed-off-by: Pavel Begunkov <[email protected]>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-13 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13 12:07 [PATCH liburing 1/1] tests: fixup defer-taskrun.c after api change Pavel Begunkov
2022-09-13 15:23 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox