syscalls/splice04: add test for splice() from pipe to pipe
PATCH v5 1/2 syscalls/splice04: add test for splice() from pipe to pipe
From: Boyang Xue <[email protected]>
This test case covers pipe to pipe splice operation, which was introduced in kernel commit 7c77f0b3f920 ("splice: implement pipe to pipe splicing").
Signed-off-by Boyang Xue <[email protected]>
--- runtest/syscalls | 1 + testcases/kernel/syscalls/.gitignore | 1 + testcases/kernel/syscalls/splice/splice04.c | 106 ++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 testcases/kernel/syscalls/splice/splice04.c
runtest/syscalls +1 -0
@@ -1225,6 +1225,7 @@ sockioctl01 sockioctl01 splice01 splice01 splice02 seq 1 20000 | splice02 splice02-temp splice03 splice03 +splice04 splice04 tee01 tee01 tee02 tee02
testcases/kernel/syscalls/.gitignore +1 -0
@@ -976,6 +976,7 @@ /splice/splice01 /splice/splice02 /splice/splice03 +/splice/splice04 /ssetmask/ssetmask01 /stat/stat01 /stat/stat01_64
testcases/kernel/syscalls/splice/splice04.c new file +106 -0
106 lines not on this page · raw message
Signature · 1 line
1.8.3.1
PATCH v5 2/2 syscalls/splice05: add test for splice() between pipe and socket
From: Boyang Xue <[email protected]>
This test case covers splice operation between pipe and socket.
Signed-off-by Boyang Xue <[email protected]>
--- runtest/syscalls | 1 + testcases/kernel/syscalls/.gitignore | 1 + testcases/kernel/syscalls/splice/splice05.c | 122 ++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 testcases/kernel/syscalls/splice/splice05.c
runtest/syscalls +1 -0
@@ -1226,6 +1226,7 @@ splice01 splice01 splice02 seq 1 20000 | splice02 splice02-temp splice03 splice03 splice04 splice04 +splice05 splice05 tee01 tee01 tee02 tee02
testcases/kernel/syscalls/.gitignore +1 -0
@@ -977,6 +977,7 @@ /splice/splice02 /splice/splice03 /splice/splice04 +/splice/splice05 /ssetmask/ssetmask01 /stat/stat01 /stat/stat01_64
testcases/kernel/syscalls/splice/splice05.c new file +122 -0
122 lines not on this page · raw message
Signature · 1 line
1.8.3.1
PATCH v5 2/2 syscalls/splice05: add test for splice() between pipe and socket
Hi!
Both pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]