All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com
Subject: [PATCH liburing 0/2] mock file tests
Date: Mon, 26 May 2025 08:36:16 +0100	[thread overview]
Message-ID: <cover.1748244826.git.asml.silence@gmail.com> (raw)

Add tests using mock files. Patch 1 adds basic infra and tests
vectored cmd with registered buffers. Patch 2 add a trivial
read/write test varying mock file options.

Pavel Begunkov (2):
  tests: test cmd regvec support with mock file
  io_uring/tests: add read/write mock file tests

 test/Makefile     |   1 +
 test/mock.h       |  47 ++++++
 test/mock_tests.c | 373 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 421 insertions(+)
 create mode 100644 test/mock.h
 create mode 100644 test/mock_tests.c

-- 
2.49.0


             reply	other threads:[~2025-05-26  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-26  7:36 Pavel Begunkov [this message]
2025-05-26  7:36 ` [PATCH liburing 1/2] tests: test cmd regvec support with mock file Pavel Begunkov
2025-05-26  7:36 ` [PATCH liburing 2/2] io_uring/tests: add read/write mock file tests Pavel Begunkov

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.1748244826.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.