source: rtems/testsuites/sptests/spfifo05/spfifo05.scn @ 9cdd944

4.115
Last change on this file since 9cdd944 was 9cdd944, checked in by Joel Sherrill <joel.sherrill@…>, on 07/05/10 at 20:14:19

2010-07-05 Bharath Suri <bharath.s.jois@…>

PR 1600/testing

  • spfifo05/init.c, spfifo05/spfifo05.doc, spfifo05/spfifo05.scn, spfifo05/Makefile.am: New tests for pipe/fifo routines.
  • Makefile.am, configure.ac: Add new test.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1*** FIFO / PIPE TESTS - 5 ***
2Init - Creating fifo file /fifo
3Init - starting the read task
4Init - waiting at a barrier
5read_task - opening /fifo in non-blocking mode
6read_task - attempt to read with number of writers = 0
7read_task - releasing the write task
8read_task - waiting at a barrier
9Init - opening the fifo in write only mode -- OK
10Init - writing to /fifo
11Init - releasing the read_task
12Init - waiting at a barrier
13read_task - attempting to read from the fifo -- Expect EAGAIN
14read_task - closing /fifo
15read_task - opening /fifo in read-only mode
16read_task - releasing the write task
17read_task - reading from /fifo - OKInit - writing to /fifo - OK
18
19Init - writing to /fifo - OK
20read_task - reading from /fifo - OK
21read_task - waiting at a barrierInit - releasing the read_task
22
23Init - waiting at a barrier
24read_task - reading from /fifo - OK
25read_task - releasing the write task
26read_task - waiting at a barrier
27Init - converting the write-mode to non-block
28Init - writing to /fifo - OK
29Init - writing to /fifo - Expect EAGAIN
30Init - releasing the read_task
31Init - waiting at a barrier
32read_task - releasing the write task
33Init - writing to /fifo - Expect EPIPE
34Removing the fifo
35*** END OF FIFO / PIPE OPEN TEST - 6 ***
36
Note: See TracBrowser for help on using the repository browser.