summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx01/psx01.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-18 14:39:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-18 14:39:33 +0000
commit84f27fa8fac962af92cad5910f459ffc65222ac5 (patch)
treee7801b08f98bf7e430c75d4f18d79afdc62ea409 /testsuites/psxtests/psx01/psx01.scn
parent2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-84f27fa8fac962af92cad5910f459ffc65222ac5.tar.bz2
2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add test case for nanosleep with NULL remaining pointer.
Diffstat (limited to 'testsuites/psxtests/psx01/psx01.scn')
-rw-r--r--testsuites/psxtests/psx01/psx01.scn15
1 files changed, 13 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx01/psx01.scn b/testsuites/psxtests/psx01/psx01.scn
index 3a5fbef258..e740fdb072 100644
--- a/testsuites/psxtests/psx01/psx01.scn
+++ b/testsuites/psxtests/psx01/psx01.scn
@@ -1,27 +1,37 @@
+
+
*** POSIX TEST 1 ***
Init: uname - EFAULT (invalid uts pointer argument)
Init: uts.sysname: RTEMS
Init: uts.nodename: Node 1
Init: uts.release: 4.9.99.0
Init: uts.version:
-Init: uts.machine: SPARC/w/FPU
+Init: uts.machine: ARM/ARMv4T
+
+Init: clock_gettime - EINVAL (NULL timespec)
Init: clock_gettime - EINVAL (invalid clockid)
Init: clock_settime - EINVAL (invalid clockid)
+Thu Jan 1 00:00:01 1970
+Init: clock_settime - before 1988 EINVAL
Init: clock_getres - EINVAL (invalid clockid)
Init: clock_getres - EINVAL (NULL resolution)
Init: clock_getres - SUCCESSFUL
Init: resolution = sec (0), nsec (10000000)
+
Fri May 24 11:05:00 1996
Init: clock_settime - SUCCESSFUL
Fri May 24 11:05:00 1996
Fri May 24 11:05:00 1996
+Time since boot: (3, 20000000)
Fri May 24 11:05:03 1996
Fri May 24 11:05:03 1996
Init: seconds remaining (0)
+
Init: nanosleep - EINVAL (NULL time)
Init: nanosleep - EINVAL (too many nanoseconds)
Init: nanosleep - negative seconds small delay
-Init: nanosleep - yield
+Init: nanosleep - yield with remaining
+Init: nanosleep - yield with NULL time remaining
Init: nanosleep - 1.05 seconds
Fri May 24 11:05:06 1996
Init: sec (0), nsec (0) remaining
@@ -40,6 +50,7 @@ Init: pthread_create - EAGAIN (too many threads)
Init: sched_yield to Task_1
Task_1: sched_yield to Init
Init: pthread_exit
+
Task_1: ID is 0x0b010002
Task_1: pthread_equal - match case passed
Task_1: pthread_equal - different case passed