public inbox for [email protected]
 help / color / mirror / Atom feed
From: Pavel Begunkov <[email protected]>
To: [email protected]
Cc: Jens Axboe <[email protected]>, [email protected]
Subject: [PATCH liburing 1/1] tests: fixup defer-taskrun.c after api change
Date: Tue, 13 Sep 2022 13:07:11 +0100	[thread overview]
Message-ID: <2ed8db2b22f7840977bdc58b6d282be750c878bb.1662900803.git.asml.silence@gmail.com> (raw)

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


             reply	other threads:[~2022-09-13 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 12:07 Pavel Begunkov [this message]
2022-09-13 15:23 ` [PATCH liburing 1/1] tests: fixup defer-taskrun.c after api change Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ed8db2b22f7840977bdc58b6d282be750c878bb.1662900803.git.asml.silence@gmail.com \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox