summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-26 14:26:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-26 14:26:23 +0000
commit68cc3adb75d2b2084f75291f4801eb16362d7c8c (patch)
treee3dd24fb4604cc47d79979e16ab8792713417633 /testsuites/psxtests/psxmsgq01/psxmsgq01.scn
parent2004-02-24 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-68cc3adb75d2b2084f75291f4801eb16362d7c8c.tar.bz2
2004-02-26 Sébastien Barré <sbarre@sdelcc.com>
PR 582/core * psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Fix the POSIX message queue test so more of it runs now.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/psxmsgq01.scn')
-rw-r--r--testsuites/psxtests/psxmsgq01/psxmsgq01.scn31
1 files changed, 6 insertions, 25 deletions
diff --git a/testsuites/psxtests/psxmsgq01/psxmsgq01.scn b/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
index 8ab92b727c..9f0372b435 100644
--- a/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
+++ b/testsuites/psxtests/psxmsgq01/psxmsgq01.scn
@@ -4,8 +4,8 @@ Init: mq_open - Create with maxmsg (-1) (EINVAL)
Init: mq_open - Create with msgsize (-1) (EINVAL)
Init: mq_open - Open new mq without create flag (ENOENT)
Init: mq_open - Open with too long of a name (ENAMETOOLONG)
-Init: mq_open - SUCCESSFUL
Init: mq_open - Create an Existing mq (EEXIST)
+Init: mq_open - SUCCESSFUL
Init: mq_open - system is out of resources (ENFILE)
Init: mq_close and mq_unlink (mq3...mqn) - SUCCESSFUL
Init: Open Test Queues
@@ -52,7 +52,6 @@ Init: Init: mq_timedreceive - on queue Qnoblock Init: 0 sec 0 us
Init: Init: mq_timedreceive - on queue Qblock Init: 1 sec 0 us
Init: Init: mq_timedreceive - on queue Qdefault Init: 1 sec 0 us
_______________mq_open functionality
-Init: mq_open - Open an existing mq ( same id )
_______________mq_notify
Init: mq_notify - Unopened message queue (EBADF)
_____mq_notify - notify when Qnoblock gets a message
@@ -70,38 +69,20 @@ Init: mq_notify - Remove notification with null
Init: Verify No Signal when send
Init: mq_send - to Qnoblock msg: 12345678 priority 31
waiting on any signal for 3 seconds.
-_______________multi-thread Task 4 Receive Test
-Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
-Task_4: Fri Jan 1 00:00:18 1988
-Task_4: Set queue to non-blocking
-Task_4: Return queue to blocking
-Task_4: pthread_exit
-Init: Fri Jan 1 00:00:18 1988
_______________multi-thread Task 1 Test
-Task_1: Fri Jan 1 00:00:18 1988
+Task_1: Fri Jan 1 00:00:20 1988
Task_1: mq_send - to Qblock msg: 12345678 priority 31
Task_1: pthread_exit
-Init: Fri Jan 1 00:00:18 1988
-_______________multi-thread Task 4 Send Test
-Init: Verify Queues are empty
-Init: Fill Queues with messages
-Init: Verify Queues are full
-Init: mq_send - Full queue changes to non-blocking (EAGAIN)
-Task_4: Fri Jan 1 00:00:18 1988
-Task_4: Set queue to non-blocking
-Task_4: Return queue to blocking
-Task_4: pthread_exit
-Init: Verify Queues are full
-Init: Empty all Queues
+Init: Fri Jan 1 00:00:20 1988
_______________multi-thread Task 2 Test
Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - to Qblock msg: Last priority 32
-Task_2: Fri Jan 1 00:00:18 1988
+Task_2: Fri Jan 1 00:00:21 1988
Task_2: Verify Queues are full
Task_2: pthread_exit
-Init: Fri Jan 1 00:00:18 1988
+Init: Fri Jan 1 00:00:21 1988
Init: Verify Queues are full
Init: Empty all Queues
_______________multi-thread Task 3 Test
@@ -109,7 +90,7 @@ Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - Block while thread deletes queue (EBADF)
-Task_3: Fri Jan 1 00:00:18 1988
+Task_3: Fri Jan 1 00:00:21 1988
_______________Unlink and Close All Files
Task_3: pthread_exit
*** END OF POSIX MESSAGE QUEUE TEST ***