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

4.104.115
Last change on this file since ea7d86b was ea7d86b, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 12, 2009 at 12:21:51 AM

2009-11-11 Joel Sherrill <joel.sherrill@…>

PR 1466/tests

  • Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc, psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c, psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests. Add test specifically to test it since it is deprecated as of POSIX.1-2008.
  • psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c, psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
  • 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: nanosleep - 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.