[LTP] [PATCH v3 0/2] add test case splice04 and splice05

bxue@redhat.com bxue@redhat.com
Tue May 2 08:48:18 CEST 2017


From: Boyang Xue <bxue@redhat.com>

Hi,

Please help me review the following test cases. Thanks.

Changes from patchset v2:
add built test case binary in right .gitignore file

Changes from patchset v1:
1) add built test case binary in .gitignore
2) restrict test data size so as to honor /proc/sys/fs/pipe-max-size
3) do splice() in a loop in case not all data are splice-ed in a single operation

-Boyang

Boyang Xue (2):
  syscalls/splice04: add test for splice() from pipe to pipe
  syscalls/splice05: add test for splice() between pipe and socket

 runtest/syscalls                            |   2 +
 testcases/kernel/syscalls/.gitignore        |   2 +
 testcases/kernel/syscalls/splice/splice04.c | 117 ++++++++++++++++++++++++
 testcases/kernel/syscalls/splice/splice05.c | 134 ++++++++++++++++++++++++++++
 4 files changed, 255 insertions(+)
 create mode 100644 testcases/kernel/syscalls/splice/splice04.c
 create mode 100644 testcases/kernel/syscalls/splice/splice05.c

-- 
1.8.3.1



More information about the ltp mailing list