summaryrefslogtreecommitdiff
path: root/rt/tst-timer5.c
AgeCommit message (Collapse)Author
2004-12-072004-12-07 Roland McGrath <roland@redhat.com>Roland McGrath
* rt/tst-timer5.c (setup_test): New function. (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not support CLOCK_MONOTONIC.
2004-12-062004-12-06 Roland McGrath <roland@redhat.com>Roland McGrath
* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. Use them throughout in place of CLOCK_REALTIME and nanosleep. (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns non-null, punt the test with a message using the string returned. * rt/tst-timer5.c: New file. * rt/Makefile (tests): Add it.