Skip to contentSkip to conversation

tests: add rsrc tags tests

RFC New Pavel Begunkov 1 participant 1 message Apr 23, 2021 io_uring

lore
Share & tools
lore
#0 lore raw

RFC 1/1 tests: add rsrc tags tests

Test rsrc tagging, updates, new registration opcodes for buffers and files.

---

Not final but working, just for reference.

 test/Makefile    |   2 +
 test/rsrc_tags.c | 335 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 337 insertions(+)
 create mode 100644 test/rsrc_tags.c
test/Makefile +2 -0
index 4572564..f62e4f3 100644
@@ -114,6 +114,7 @@ test_targets += \
 	unlink \
 	wakeup-hang \
 	sendmsg_fs_cve \
+	rsrc_tags \
 	# EOL
 
 all_targets += $(test_targets)
@@ -251,6 +252,7 @@ test_srcs := \
 	unlink.c \
 	wakeup-hang.c \
 	sendmsg_fs_cve.c \
+	rsrc_tags.c \
 	# EOL
 
 test_objs := $(patsubst %.c,%.ol,$(patsubst %.cc,%.ol,$(test_srcs)))
test/rsrc_tags.c new file +335 -0

335 lines not on this page · raw message

Signature · 1 line
2.31.1