[LTP] [PATCH 0/2] signalfd: Improve testsuite for signalfd

Ma Xinjian via ltp
2024-05-28T10:32:29Z

Currently, testsuite for signalfd is written in old API, and only
contains case for normal situation.

So I refactor the existed case with new API, and add case for negative
situations.

Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>

signalfd01: Refactor old case with new API
signalfd: Add negative tests
---
runtest/syscalls | 1 +
testcases/kernel/syscalls/signalfd/.gitignore | 1 +
testcases/kernel/syscalls/signalfd/signalfd01.c | 350 +++++++-----------------
testcases/kernel/syscalls/signalfd/signalfd02.c | 115 ++++++++
4 files changed, 213 insertions(+), 254 deletions(-)