mbox series

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

Message ID 20240320095927.19973-1-chrubis@suse.cz
Headers show
Series Add splice tests fro /dev/{zero,null,full} | expand

Message

Cyril Hrubis March 20, 2024, 9:59 a.m. UTC
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