[LTP] [PATCH v2 0/7] Add ioctl_ficlone testing suite
Andrea Cervesato
andrea.cervesato@suse.de
Tue Jul 23 09:15:00 CEST 2024
This testing suite is testing ioctl() FICLONE and FICLONERANGE
functionalities. In particular, file clone and error codes.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v2:
- add fallback definitions
- algorithm steps using '-'
- avoid assigning -1 to file descriptors after close()
- use SAFE_UNLINK() instead of remove()
- enable both xfs and btrs for all tests
- Link to v1: https://lore.kernel.org/r/20240530-ioctl_ficlone-v1-0-fa96f07d0fca@suse.com
---
Andrea Cervesato (7):
Add fallback definitions for lapi/fs.h
Add ioctl_ficlone01 test
Add ioctl_ficlone02 test
Add ioctl_ficlone03 test
Add ioctl_ficlonerange01 test
Add ioctl_ficlonerange02 test
Add ioctl_ficlone04 test
configure.ac | 1 +
include/lapi/fs.h | 17 +++
runtest/syscalls | 6 +
testcases/kernel/syscalls/ioctl/.gitignore | 6 +
testcases/kernel/syscalls/ioctl/ioctl_ficlone01.c | 122 ++++++++++++++++
testcases/kernel/syscalls/ioctl/ioctl_ficlone02.c | 70 +++++++++
testcases/kernel/syscalls/ioctl/ioctl_ficlone03.c | 124 ++++++++++++++++
testcases/kernel/syscalls/ioctl/ioctl_ficlone04.c | 108 ++++++++++++++
.../kernel/syscalls/ioctl/ioctl_ficlonerange01.c | 162 +++++++++++++++++++++
.../kernel/syscalls/ioctl/ioctl_ficlonerange02.c | 97 ++++++++++++
10 files changed, 713 insertions(+)
---
base-commit: c5d95b6d34e2356bd19e6b646da06f1bce66a024
change-id: 20240529-ioctl_ficlone-95c603f71d53
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list