source: rtems/testsuites/psxtests/psxclock/psxclock.scn @ ab2422c

4.104.115
Last change on this file since ab2422c was ab2422c, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 14, 2009 at 5:59:29 PM

2009-09-14 Joel Sherrill <joel.sherrill@…>

  • psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test case for nanosleep of a very small delay which mathematically is less than a clock tick.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1*** POSIX CLOCK TEST ***
2Init: clock_gettime - EINVAL (NULL timespec)
3Init: clock_gettime - EINVAL (invalid clockid)
4Init: clock_settime - EINVAL (invalid clockid)
5Thu Jan  1 00:00:01 1970
6Init: clock_settime - before 1988 EINVAL
7Init: clock_getres - EINVAL (invalid clockid)
8Init: clock_getres - EINVAL (NULL resolution)
9Init: clock_getres - SUCCESSFUL
10Init: resolution = sec (0), nsec (10000000)
11
12Fri May 24 11:05:00 1996
13Init: clock_settime - SUCCESSFUL
14Fri May 24 11:05:00 1996
15Fri May 24 11:05:00 1996
16Time since boot: (3, 10131000)
17Fri May 24 11:05:03 1996
18Fri May 24 11:05:03 1996
19Init: seconds remaining (0)
20
21Init: nanosleep - EINVAL (NULL time)
22Init: nanosleep - EINVAL (too many nanoseconds)
23Init: nanosleep - negative seconds small delay
24Init: nanosleep - delay so small results in one tick
25Init: nanosleep - yield with remaining
26Init: nanosleep - yield with NULL time remaining
27Init: nanosleep - 1.05 seconds
28Fri May 24 11:05:06 1996
29Init: sec (0), nsec (0) remaining
30Init: usleep - 1.35 seconds
31Fri May 24 11:05:07 1996
32clock_gettime - CLOCK_THREAD_CPUTIME -- ENOSYS
33clock_settime - CLOCK_PROCESS_CPUTIME -- ENOSYS
34clock_settime - CLOCK_THREAD_CPUTIME -- ENOSYS
35*** END OF POSIX CLOCK TEST ***
Note: See TracBrowser for help on using the repository browser.