Add query and mock tests
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests: test the query interfacesrc/ src/ src/ +2 more | +368 | 1 reply | |
| 2/6 | tests: add t_submit_and_wait_single helpertest/ test/ | +19 | 0 replies | |
| 3/6 | tests: introduce t_iovec_data_length helpertest/ test/ test/ | +14 | 0 replies | |
| 4/6 | tests: add t_sqe_prep_cmd helpertest/ | +7 | 0 replies | |
| 5/6 | tests: add helper for iov data verificationtest/ test/ | +47 | 0 replies | |
| 6/6 | tests: add mock file based teststest/ test/ test/ | +421 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH liburing 0/6] Add query and mock tests
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
Signature · 1 line
2.49.0