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

4.104.115
Last change on this file since f343b668 was f343b668, checked in by Joel Sherrill <joel.sherrill@…>, on 09/21/09 at 13:14:37

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

  • psxclock/init.c, psxclock/psxclock.scn: Add test case for negative nanoseconds.
  • 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 - EINVAL
24Init: nanosleep - negative nanoseconds - EINVAL
25Init: nanosleep - delay so small results in one tick
26Init: nanosleep - yield with remaining
27Init: nanosleep - yield with NULL time remaining
28Init: nanosleep - 1.05 seconds
29Fri May 24 11:05:06 1996
30Init: sec (0), nsec (0) remaining
31Init: usleep - 1.35 seconds
32Fri May 24 11:05:07 1996
33clock_gettime - CLOCK_THREAD_CPUTIME -- ENOSYS
34clock_settime - CLOCK_PROCESS_CPUTIME -- ENOSYS
35clock_settime - CLOCK_THREAD_CPUTIME -- ENOSYS
36*** END OF POSIX CLOCK TEST ***
Note: See TracBrowser for help on using the repository browser.