source: rtems/c/src/tests/psxtests/psxmsgq01/psxmsgq01.scn @ 1fbd283c

4.104.114.84.95
Last change on this file since 1fbd283c was 1fbd283c, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 20, 2001 at 1:50:54 PM

2001-04-20 Joel Sherrill <joel@…>

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