Skip to contentSkip to conversation

tests: fixup defer-taskrun.c after api change

PATCH Applied Pavel Begunkov 2 participants 2 messages Sep 13, 2022 io_uring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: fixup defer-taskrun.c after api change

---
 test/defer-taskrun.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
test/defer-taskrun.c +1 -2
index aec8c5d..c6e0ea0 100644
@@ -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);
Signature · 1 line
2.37.2
maintainer Applied
#1 lore raw
Quoted 1 line · Pavel Begunkov

Applied, thanks!

[1/1] tests: fixup defer-taskrun.c after api change

      commit: 2fadaf2ca667fc62f2275e21c229411d0834ec4b

Best regards,

Signature · 1 line
Jens Axboe