[PATCH v4 0/1] Test for clock_nanosleep() with CLOCK_MONOTONIC option

Utkarsh Rai utkarsh.rai60 at gmail.com
Wed Oct 21 03:28:23 UTC 2020


This patch has the tests for clock_nanosleep with the CLOCK_MONOTONIC option.
The psxtests/psxclocknanosleep01/.. tests for valid timeout values as well as
for the effect on timeout delay when REALTIME clock is modified(no effect).
The timing tests are the similar to that for the REALTIME option(yielding and 
blocking).

Utkarsh Rai (1):
  Test for clock_nanosleep() with CLOCK_MONOTONIC option

 .../psxtests/psxclocknanosleep01.yml          |  19 +++
 spec/build/testsuites/psxtmtests/grp.yml      |   4 +
 .../psxtmtests/psxtmclocknanosleep04.yml      |  19 +++
 .../psxtmtests/psxtmclocknanosleep05.yml      |  19 +++
 .../psxtests/psxclocknanosleep01/init.c       | 145 ++++++++++++++++++
 .../psxclocknanosleep01.doc                   |  13 ++
 .../psxclocknanosleep01.scn                   |  50 ++++++
 .../psxtmtests/psxtmclocknanosleep04/init.c   |  70 +++++++++
 .../psxtmtests/psxtmclocknanosleep05/init.c   | 116 ++++++++++++++
 9 files changed, 455 insertions(+)
 create mode 100644 spec/build/testsuites/psxtests/psxclocknanosleep01.yml
 create mode 100644 spec/build/testsuites/psxtmtests/psxtmclocknanosleep04.yml
 create mode 100644 spec/build/testsuites/psxtmtests/psxtmclocknanosleep05.yml
 create mode 100644 testsuites/psxtests/psxclocknanosleep01/init.c
 create mode 100644 testsuites/psxtests/psxclocknanosleep01/psxclocknanosleep01.doc
 create mode 100644 testsuites/psxtests/psxclocknanosleep01/psxclocknanosleep01.scn
 create mode 100644 testsuites/psxtmtests/psxtmclocknanosleep04/init.c
 create mode 100644 testsuites/psxtmtests/psxtmclocknanosleep05/init.c

-- 
2.25.1



More information about the devel mailing list