diff options
author | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-23 15:56:22 +0000 |
---|---|---|
committer | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-23 15:56:22 +0000 |
commit | 237088cfdf8d11201461f2d1a0a1304c536136e0 (patch) | |
tree | 69ea461bc5727e8d2ea1714bb69814094e37f4aa /c | |
parent | Filled in the screen (diff) | |
download | rtems-237088cfdf8d11201461f2d1a0a1304c536136e0.tar.bz2 |
Filled in screen
Diffstat (limited to 'c')
-rw-r--r-- | c/src/tests/psxtests/psx10/psx10.scn | 60 | ||||
-rw-r--r-- | c/src/tests/psxtests/psx11/psx11.scn | 18 |
2 files changed, 78 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psx10/psx10.scn b/c/src/tests/psxtests/psx10/psx10.scn new file mode 100644 index 0000000000..a19b9d8c49 --- /dev/null +++ b/c/src/tests/psxtests/psx10/psx10.scn @@ -0,0 +1,60 @@ +*** POSIX TEST 10 *** +Init: pthread_condattr_init +Init: pthread_condattr_init - EINVAL (attribute invalid) +Init: pthread_condattr_destroy +Init: pthread_condattr_destroy - EINVAL (attribute invalid) +Init: pthread_condattr_init +Init: pthread_condattr_setpshared - PTHREAD_PROCESS_SHARED +Init: pthread_condattr_setpshared - PTHREAD_PROCESS_PRIVATE +Init: pthread_condattr_setpshared - EINVAL (attribute invalid) +Init: pthread_condattr_setpshared - EINVAL (pshared invalid) +Init: pthread_condattr_getpshared - 0 +Init: pthread_condattr_getpshared - EINVAL (attribute invalid) +Init: pthread_cond_init - NULL attr +Init: pthread_cond_init - EINVAL (attr not initialized) +Init: pthread_cond_init - ENOMEM (too many conds) +Init: pthread_cond_destroy +Init: pthread_cond_destroy - EINVAL (cond invalid) +Init: pthread_cond_init - attr + +Init: sleep to switch to Task_1 +Task_1: ID is 0x0c010002 +Task_1: pthread_cond_wait +Init: pthread_cond_destroy - EBUSY (task1 waiting) +Init: pthread_cond_signal + +Init: sleep - switch to Task_1 and Task_2 +Task_1: back from pthread_cond_wait release mutex +Task_1: pthread_cond_wait +Task_2: ID is 0x0c010003 +Task_2: pthread_cond_wait +Init: pthread_cond_broadcast +Init: sleep - switch to Task_1 +Task_1: back from pthread_cond_wait release mutex +Task_1: task exit +Task_2: back from pthread_cond_wait release mutex +Task_2: task exit +Init: pthread_cond_timedwait for 3 seconds +Init: pthread_cond_timedwait - ETIMEDOUT - (mutex not acquired) + +Init: pthread_cond_signal - EINVAL (cond invalid) +Init: pthread_cond_broadcast - EINVAL (cond invalid) +Init: pthread_cond_wait - EINVAL (cond invalid) +Init: pthread_cond_timedwait - EINVAL (cond invalid) +Init: pthread_cond_wait - EINVAL (mutex invalid) +Init: pthread_cond_timedwait - EINVAL (mutex invalid) +Init: pthread_cond_timedwait - EINVAL (abstime NULL) +Init: pthread_cond_timedwait - EINVAL (abstime->tv_sec invalid) +Init: pthread_cond_timedwait - EINVAL (abstime->tv_nsec invalid) +Init: pthread_cond_timedwait - EINVAL (abstime->tv_nsec to large) +Init: pthread_cond_wait - EINVAL (mutex not locked before call) +Init: pthread_cond_timedwait - EINVAL (mutex not locked before call) + +Init: sleep - switch to Task_3 +Task_3: ID is 0x0c010004 +Task_3: pthread_cond_wait +Init: pthread_cond_signal +Init: sleep - switch to Task_3 +Task_3: pthread_cond_wait - EINVAL (mutex not locked after signal) +Task_3: task exit +*** END OF POSIX TEST 10 *** diff --git a/c/src/tests/psxtests/psx11/psx11.scn b/c/src/tests/psxtests/psx11/psx11.scn index e69de29bb2..69df5ec1b9 100644 --- a/c/src/tests/psxtests/psx11/psx11.scn +++ b/c/src/tests/psxtests/psx11/psx11.scn @@ -0,0 +1,18 @@ +*** POSIX TEST 11 *** +Init's ID is 0x0c010001 +Init: Setting scheduling parameters to FIFO with priority 127 +Init: Setting scheduling parameters to RR with priority 125 +Init: Setting scheduling parameters to OTHER with priority 121 +Init: create a thread of SCHED_FIFO with priority 120 +Init: join with the other thread +Task_1: killing time +Task_1: exitting +Init: create a thread of SCHED_RR with priority 120 +Init: join with the other thread +Task_1: killing time +Task_1: exitting +Init: create a thread of SCHED_OTHER with priority 120 +Init: join with the other thread +Task_1: killing time +Task_1: exitting +*** END OF POSIX TEST 11 *** |