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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [psxtests/] [psxmsgq01/] [psxmsgq01.scn] - Blame information for rev 583

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

Line No. Rev Author Line
1 30 unneback
*** POSIX MESSAGE QUEUE TEST ***
2
_______________mq_open errors
3
Init: mq_open - Create with maxmsg (-1) (EINVAL)
4
Init: mq_open - Create with msgsize (-1) (EINVAL)
5
Init: mq_open - Open new mq without create flag (ENOENT)
6
Init: mq_open - Open with too long of a name (ENAMETOOLONG)
7
Init: mq_open - SUCCESSFUL
8
Init: mq_open - Create an Existing mq (EEXIST)
9
Init: mq_open - system is out of resources (ENFILE)
10
Init: mq_close and mq_unlink (mq3...mqn) - SUCCESSFUL
11
Init: Open Test Queues
12
_______________mq_unlink errors
13
Init: mq_unlink - mq_unlink with too long of a name (ENAMETOOLONG)
14
Init: mq_unlink - A Queue not opened  (ENOENT)
15
Init: mq_unlink (NULL) - EINVAL
16
Init: mq_unlink ("") - EINVAL
17
_______________mq_close errors
18
Init: mq_close - unopened queue (EBADF)
19
_______________mq_unlink functionality
20
Init: Unlink and Open without closing SUCCESSFUL
21
Task1:mq_setattr - unopened queue (EBADF)
22
Task1:mq_setattr - NULL attributes (EINVAL)
23
Init: set_attr all queues to blocking
24
Init: Init: mq_timedreceive - on queue Qnoblock Init: 1 sec 0 us
25
Init: Init: mq_timedreceive - on queue Qblock Init: 1 sec 0 us
26
Init: Init: mq_timedreceive - on queue Qdefault Init: 1 sec 0 us
27
_______________mq_send errors
28
Init: mq_send - Closed message queue (EBADF)
29
Init: mq_send - Read only message queue (EBADF)
30
Init: mq_send - Priority out of range (EINVAL)
31
Init: mq_send - Message longer than msg_len (EMSGSIZE)
32
Init: Verify Queues are empty
33
Init: Fill Queues with messages
34
Init: Verify Queues are full
35
Init: mq_send - on a FULL non-blocking queue with (EAGAIN)
36
_______________mq_getattr errors
37
Init: mq_getattr - unopened queue (EBADF)
38
Init: mq_getattr - NULL attributes (EINVAL)
39
_______________mq_timedsend
40
Init: mq_timedsend - on queue Qnoblock Init: 0 sec 0 us
41
Init: mq_timedsend - on queue Qblock Init: 1 sec 0 us
42
Init: mq_timedsend - on queue Qdefault Init: 0 sec 0 us
43
_______________mq_receive errors
44
Init: mq_receive - Unopened message queue (EBADF)
45
Init: mq_receive - Write only queue (EBADF)
46
Init: mq_receive - Size is less than the message (EMSGSIZE)
47
Init: Verify Queues are full
48
Init: Empty all Queues
49
Init: mq_receive - Queue is empty (EAGAIN)
50
_______________mq_timedreceive
51
Init: Init: mq_timedreceive - on queue Qnoblock Init: 0 sec 0 us
52
Init: Init: mq_timedreceive - on queue Qblock Init: 1 sec 0 us
53
Init: Init: mq_timedreceive - on queue Qdefault Init: 1 sec 0 us
54
_______________mq_open functionality
55
Init: mq_open - Open an existing mq ( same id )
56
_______________mq_notify
57
Init: mq_notify - Unopened message queue (EBADF)
58
_____mq_notify - notify when Qnoblock gets a message
59
waiting on any signal for 3 seconds.
60
Init: Verify Signal when send
61
Init: mq_send -  to Qnoblock msg: 12345678 priority 31
62
waiting on any signal for 3 seconds.
63
Init: Verify No Signal when send
64
Init: mq_send -  to Qnoblock msg: 12345678 priority 31
65
waiting on any signal for 3 seconds.
66
____mq_notify - notify when Qread gets a message
67
waiting on any signal for 3 seconds.
68
Init: mq_notify -  (EBUSY)
69
Init: mq_notify - Remove notification with null
70
Init: Verify No Signal when send
71
Init: mq_send -  to Qnoblock msg: 12345678 priority 31
72
waiting on any signal for 3 seconds.
73
_______________multi-thread Task 4 Receive Test
74
Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
75
Task_4: Fri Jan 01 00:00:18 1988
76
Task_4: Set queue to non-blocking
77
Task_4: Return queue to blocking
78
Task_4: pthread_exit
79
Init: Fri Jan 01 00:00:18 1988
80
_______________multi-thread Task 1 Test
81
Task_1: Fri Jan 01 00:00:18 1988
82
Task_1: mq_send -  to Qblock msg: 12345678 priority 31
83
Task_1: pthread_exit
84
Init: Fri Jan 01 00:00:18 1988
85
_______________multi-thread Task 4 Send Test
86
Init: Verify Queues are empty
87
Init: Fill Queues with messages
88
Init: Verify Queues are full
89
Init: mq_send - Full queue changes to non-blocking (EAGAIN)
90
Task_4: Fri Jan 01 00:00:18 1988
91
Task_4: Set queue to non-blocking
92
Task_4: Return queue to blocking
93
Task_4: pthread_exit
94
Init: Verify Queues are full
95
Init: Empty all Queues
96
_______________multi-thread Task 2 Test
97
Init: Verify Queues are empty
98
Init: Fill Queues with messages
99
Init: Verify Queues are full
100
Init: mq_send -  to Qblock msg: Last priority 32
101
Task_2: Fri Jan 01 00:00:18 1988
102
Task_2: Verify Queues are full
103
Task_2: pthread_exit
104
Init: Fri Jan 01 00:00:18 1988
105
Init: Verify Queues are full
106
Init: Empty all Queues
107
_______________multi-thread Task 3 Test
108
Init: Verify Queues are empty
109
Init: Fill Queues with messages
110
Init: Verify Queues are full
111
Init: mq_send - Block while thread deletes queue (EBADF)
112
Task_3: Fri Jan 01 00:00:18 1988
113
_______________Unlink and Close All Files
114
Task_3: pthread_exit
115
*** END OF POSIX MESSAGE QUEUE TEST ***
116
 

powered by: WebSVN 2.1.0

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