[LTP] [PATCH v4 0/1] Adding new testcases for existing tests
Filip Bozuta
Filip.Bozuta@syrmia.com
Sun Sep 20 17:46:32 CEST 2020
This series introduces new test cases for existing tests for syscalls:
* sendmmsg()
* recvmmsg()
These new test cases are part of my work of implementation for 2038
safe variants of the above mentioned 'recvmmsg()':
* recvmmsg_time64()
These test cases are needed to make sure that QEMU implementation of
the above mentioned time64 syscall works properly.
v4:
* Changed the timeout test to make the second message be received
after the timeout so that it doesn't brake the test with option
'-i n'
* Created a separate 'recvmmsg01.c' where the errno test cases for
'recvmmsg()' are moved
* Create a common header 'sendmmsg.h' where all the other necessary
headers along with the 'test_variants' array, test 'setup()' and
'test_cleanup()' for files 'sendmmsg01.c', 'sendmmsg02.c',
'recvmmsg01.c'
Filip Bozuta (1):
syscalls/{send|recv}mmsg: add a test case for timeout and errno test
runtest/syscalls | 3 +
testcases/kernel/syscalls/recvmmsg/Makefile | 7 +
.../kernel/syscalls/recvmmsg/recvmmsg01.c | 127 ++++++++++++++++
testcases/kernel/syscalls/sendmmsg/.gitignore | 1 +
testcases/kernel/syscalls/sendmmsg/sendmmsg.h | 81 ++++++++++
.../kernel/syscalls/sendmmsg/sendmmsg01.c | 142 +++++++-----------
.../kernel/syscalls/sendmmsg/sendmmsg02.c | 80 ++++++++++
7 files changed, 356 insertions(+), 85 deletions(-)
create mode 100644 testcases/kernel/syscalls/recvmmsg/Makefile
create mode 100644 testcases/kernel/syscalls/recvmmsg/recvmmsg01.c
create mode 100644 testcases/kernel/syscalls/sendmmsg/sendmmsg.h
create mode 100644 testcases/kernel/syscalls/sendmmsg/sendmmsg02.c
--
2.27.0
More information about the ltp
mailing list