Skip to content

mock file tests

Pavel Begunkov io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: test cmd regvec support with mock filetest/Makefile test/mock.h test/mock_tests.c+308 -00 replies
2/2io_uring/tests: add read/write mock file teststest/mock_tests.c+114 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH liburing 0/2] mock file tests

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
Signature · 1 line
2.49.0