Skip to contentSkip to conversation

syscalls/vmsplice: Add testcase

PATCH New Jorik Cronenberg 2 participants 2 messages Dec 5, 2019 – Dec 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 syscalls/vmsplice: Add testcase

Add vmsplice03 to test splicing from a pipe to user memory.

---

V2:

Fixed issues pointed out by Cyril

 testcases/kernel/syscalls/vmsplice/.gitignore |  1 +
 .../kernel/syscalls/vmsplice/vmsplice03.c     | 68 +++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 testcases/kernel/syscalls/vmsplice/vmsplice03.c
testcases/kernel/syscalls/vmsplice/.gitignore +1 -0
index 2cc74a956..03922073c 100644
@@ -1,2 +1,3 @@
 /vmsplice01
 /vmsplice02
+/vmsplice03
testcases/kernel/syscalls/vmsplice/vmsplice03.c new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
2.24.0
#1 lore raw

PATCH v2 1/1 syscalls/vmsplice: Add testcase

Hi!
I've changed the code slightly so that we make use of guarded buffers (the iovec is allocated as a guarded buffer by the test library now) and pushed, thanks.

Signature · 2 lines
Cyril Hrubis
[email protected]