public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/2] testcases/kernel/syscalls: Adding new testcases for existing tests
@ 2020-08-17 10:22 Filip Bozuta
  2020-08-17 10:22 ` [LTP] [PATCH v3 1/2] syscalls/clock_nanosleep: add a test case for bad timespec address Filip Bozuta
  2020-08-17 10:22 ` [LTP] [PATCH v3 2/2] syscalls/{send|recv}mmsg: add a test case for timeout and errno test Filip Bozuta
  0 siblings, 2 replies; 7+ messages in thread
From: Filip Bozuta @ 2020-08-17 10:22 UTC (permalink / raw)
  To: ltp

This series introduces new test cases for existing tests for syscalls:

    * clock_nanosleep()
    * sendmmsg()
    * recvmmsg()

* First patch in the series introduces bad timespec address cases
  for 'clock_nanosleep()'

* Second patch in the series introduces a timeout case and an errno
  test for 'sendmmsg()' and 'recvmmsg()'

More detailed descriptions of these newly added test cases and the
implementation details can be found in this series patch commit
messages.

These new test cases are part of my work of implementation for 2038
safe variants of the above mentioned syscalls in QEMU:

    * clock_nanosleep_time64()
    * recvmmsg_time64()

These test cases are needed to make sure that QEMU implementations of
the above mentioned time64 syscalls work properly.

These test cases are also used to fix some minor issues with already
existing implementations of regular variants of these syscalls.

v2:

    * Changed bad address values from (void *)1 to using function
      'tst_get_bad_addr()'
    * Removed unnecessary implementation descriptions that can be
      seen from the patches

v3:
    * Removed first patch from the series as it got pushed
    * Moved the bad adrress intilization in the test 'setup()' part

Filip Bozuta (2):
  syscalls/clock_nanosleep: add a test case for bad timespec address
  syscalls/{send|recv}mmsg: add a test case for timeout and errno test

 runtest/syscalls                              |   1 +
 .../clock_nanosleep/clock_nanosleep01.c       |  43 +++-
 testcases/kernel/syscalls/sendmmsg/.gitignore |   1 +
 .../kernel/syscalls/sendmmsg/sendmmsg01.c     |  68 +++--
 .../kernel/syscalls/sendmmsg/sendmmsg02.c     | 235 ++++++++++++++++++
 5 files changed, 329 insertions(+), 19 deletions(-)
 create mode 100644 testcases/kernel/syscalls/sendmmsg/sendmmsg02.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-20 15:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-17 10:22 [LTP] [PATCH v3 0/2] testcases/kernel/syscalls: Adding new testcases for existing tests Filip Bozuta
2020-08-17 10:22 ` [LTP] [PATCH v3 1/2] syscalls/clock_nanosleep: add a test case for bad timespec address Filip Bozuta
2020-08-18 13:37   ` Cyril Hrubis
2020-08-17 10:22 ` [LTP] [PATCH v3 2/2] syscalls/{send|recv}mmsg: add a test case for timeout and errno test Filip Bozuta
2020-08-18 14:37   ` Cyril Hrubis
2020-09-08 15:12     ` Cyril Hrubis
2020-09-20 15:45       ` Filip Bozuta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox