All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH liburing 0/2] mock file tests
@ 2025-05-26  7:36 Pavel Begunkov
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Pavel Begunkov @ 2025-05-26  7:36 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-26  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26  7:36 [PATCH liburing 0/2] mock file tests Pavel Begunkov
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

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.