OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [psxtests/] [psxmsgq01/] [psxmsgq01.scn] - Rev 389

Go to most recent revision | Compare with Previous | Blame | View Log

*** POSIX MESSAGE QUEUE TEST ***
_______________mq_open errors
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 - system is out of resources (ENFILE)
Init: mq_close and mq_unlink (mq3...mqn) - SUCCESSFUL
Init: Open Test Queues
_______________mq_unlink errors
Init: mq_unlink - mq_unlink with too long of a name (ENAMETOOLONG)
Init: mq_unlink - A Queue not opened  (ENOENT)
Init: mq_unlink (NULL) - EINVAL
Init: mq_unlink ("") - EINVAL
_______________mq_close errors
Init: mq_close - unopened queue (EBADF)
_______________mq_unlink functionality
Init: Unlink and Open without closing SUCCESSFUL
Task1:mq_setattr - unopened queue (EBADF)
Task1:mq_setattr - NULL attributes (EINVAL)
Init: set_attr all queues to blocking
Init: Init: mq_timedreceive - on queue Qnoblock Init: 1 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_send errors
Init: mq_send - Closed message queue (EBADF)
Init: mq_send - Read only message queue (EBADF)
Init: mq_send - Priority out of range (EINVAL)
Init: mq_send - Message longer than msg_len (EMSGSIZE)
Init: Verify Queues are empty
Init: Fill Queues with messages
Init: Verify Queues are full
Init: mq_send - on a FULL non-blocking queue with (EAGAIN)
_______________mq_getattr errors
Init: mq_getattr - unopened queue (EBADF)
Init: mq_getattr - NULL attributes (EINVAL)
_______________mq_timedsend
Init: mq_timedsend - on queue Qnoblock Init: 0 sec 0 us
Init: mq_timedsend - on queue Qblock Init: 1 sec 0 us
Init: mq_timedsend - on queue Qdefault Init: 0 sec 0 us
_______________mq_receive errors
Init: mq_receive - Unopened message queue (EBADF)
Init: mq_receive - Write only queue (EBADF)
Init: mq_receive - Size is less than the message (EMSGSIZE)
Init: Verify Queues are full
Init: Empty all Queues
Init: mq_receive - Queue is empty (EAGAIN)
_______________mq_timedreceive
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
waiting on any signal for 3 seconds.
Init: Verify Signal when send
Init: mq_send -  to Qnoblock msg: 12345678 priority 31
waiting on any signal for 3 seconds.
Init: Verify No Signal when send
Init: mq_send -  to Qnoblock msg: 12345678 priority 31
waiting on any signal for 3 seconds.
____mq_notify - notify when Qread gets a message
waiting on any signal for 3 seconds.
Init: mq_notify -  (EBUSY)
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 01 00:00:18 1988
Task_4: Set queue to non-blocking
Task_4: Return queue to blocking
Task_4: pthread_exit
Init: Fri Jan 01 00:00:18 1988
_______________multi-thread Task 1 Test
Task_1: Fri Jan 01 00:00:18 1988
Task_1: mq_send -  to Qblock msg: 12345678 priority 31
Task_1: pthread_exit
Init: Fri Jan 01 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 01 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
_______________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 01 00:00:18 1988
Task_2: Verify Queues are full
Task_2: pthread_exit
Init: Fri Jan 01 00:00:18 1988
Init: Verify Queues are full
Init: Empty all Queues
_______________multi-thread Task 3 Test
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 01 00:00:18 1988
_______________Unlink and Close All Files
Task_3: pthread_exit
*** END OF POSIX MESSAGE QUEUE TEST ***

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.