[LTP] [PATCH 0/2] Add splice tests fro /dev/{zero,null,full}

Cyril Hrubis chrubis@suse.cz
Wed Mar 20 10:59:25 CET 2024


We came around this when we were doing pre-release testing for the
splice07 test, the support for splicing to/from some dev files was
likely unintentionaly removed and added back later on. This patchset
implements first two basic splice tests for these device files.

Cyril Hrubis (2):
  syscalls: Add test for splicing from /dev/zero and /dev/full
  syscalls: Add test for splicing to /dev/zero and /dev/null

 runtest/syscalls                            |  2 +
 testcases/kernel/syscalls/splice/.gitignore |  2 +
 testcases/kernel/syscalls/splice/splice08.c | 88 +++++++++++++++++++++
 testcases/kernel/syscalls/splice/splice09.c | 55 +++++++++++++
 4 files changed, 147 insertions(+)
 create mode 100644 testcases/kernel/syscalls/splice/splice08.c
 create mode 100644 testcases/kernel/syscalls/splice/splice09.c

-- 
2.43.2



More information about the ltp mailing list