From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com
Subject: [PATCH liburing 0/6] Add query and mock tests
Date: Thu, 11 Sep 2025 12:26:25 +0100 [thread overview]
Message-ID: <cover.1757589613.git.asml.silence@gmail.com> (raw)
Also introduces a bunch of test/ helper functions.
Pavel Begunkov (6):
tests: test the query interface
tests: add t_submit_and_wait_single helper
tests: introduce t_iovec_data_length helper
tests: add t_sqe_prep_cmd helper
tests: add helper for iov data verification
tests: add mock file based tests
src/include/liburing.h | 1 +
src/include/liburing/io_uring.h | 3 +
src/include/liburing/io_uring/query.h | 41 +++
test/Makefile | 2 +
test/helpers.c | 71 +++++
test/helpers.h | 14 +
test/mock_file.c | 373 ++++++++++++++++++++++++++
test/mock_file.h | 47 ++++
test/ring-query.c | 322 ++++++++++++++++++++++
test/vec-regbuf.c | 6 +-
10 files changed, 876 insertions(+), 4 deletions(-)
create mode 100644 src/include/liburing/io_uring/query.h
create mode 100644 test/mock_file.c
create mode 100644 test/mock_file.h
create mode 100644 test/ring-query.c
--
2.49.0
next reply other threads:[~2025-09-11 11:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 11:26 Pavel Begunkov [this message]
2025-09-11 11:26 ` [PATCH liburing 1/6] tests: test the query interface Pavel Begunkov
2025-09-19 14:11 ` Pavel Begunkov
2025-09-11 11:26 ` [PATCH liburing 2/6] tests: add t_submit_and_wait_single helper Pavel Begunkov
2025-09-11 11:26 ` [PATCH liburing 3/6] tests: introduce t_iovec_data_length helper Pavel Begunkov
2025-09-11 11:26 ` [PATCH liburing 4/6] tests: add t_sqe_prep_cmd helper Pavel Begunkov
2025-09-11 11:26 ` [PATCH liburing 5/6] tests: add helper for iov data verification Pavel Begunkov
2025-09-11 11:26 ` [PATCH liburing 6/6] tests: add mock file based tests Pavel Begunkov
2025-09-19 13:15 ` [PATCH liburing 0/6] Add query and mock tests Jens Axboe
2025-09-19 16:56 ` Jens Axboe
2025-09-22 7:55 ` Pavel Begunkov
2025-09-22 12:00 ` 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=cover.1757589613.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=io-uring@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.