[LTP] [PATCH 0/3] Increase coverage for swapon syscall
Andrea Cervesato
andrea.cervesato@suse.de
Thu Aug 27 13:54:03 CEST 2026
Complete the EINVAL coverage on invalid input data and create a new test
to verify discarding pages functionalities.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (3):
lapi: fallback definitions for swapon syscall
swapon04: Add test for discard flags
swapon02: Add test cases for invalid swapflags
include/tse_swap.h | 16 +++
runtest/syscalls | 1 +
testcases/kernel/syscalls/swapon/.gitignore | 1 +
testcases/kernel/syscalls/swapon/swapon02.c | 58 +++++---
testcases/kernel/syscalls/swapon/swapon04.c | 197 ++++++++++++++++++++++++++++
5 files changed, 257 insertions(+), 16 deletions(-)
---
base-commit: 9118a480cc68700f27944aab817e0202e9e6136c
change-id: 20260827-swapon_discard_coverage-34861d63fc55
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list