From cfb35f5f7f32cec8fa4e16b99e35b7d70fa13f1f Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 17 Sep 2024 22:52:37 -0400 Subject: rt: more clock_nanosleep tests Test that clock_nanosleep rejects out of range time values. Test that clock_nanosleep actually sleeps for at least the requested time relative to the requested clock. Reviewed-by: Adhemerval Zanella --- rt/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rt/Makefile') diff --git a/rt/Makefile b/rt/Makefile index 7b50c64f76..bc5f28c6d0 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -77,6 +77,7 @@ tests := tst-shm tst-timer tst-timer2 \ tst-bz28213 \ tst-timer3 tst-timer4 tst-timer5 \ tst-cpuclock2 tst-cputimer1 tst-cputimer2 tst-cputimer3 \ + tst-clock_nanosleep2 \ tst-shm-cancel \ tst-mqueue10 tests-internal := tst-timer-sigmask @@ -84,6 +85,7 @@ tests-internal := tst-timer-sigmask tests-time64 := \ tst-aio6-time64 \ tst-cpuclock2-time64 \ + tst-clock_nanosleep2-time64 \ tst-mqueue1-time64 \ tst-mqueue2-time64 \ tst-mqueue4-time64 \ -- cgit v1.2.3