Back to home page

LXR

 
 

    


Warning, /testsuites/sptests/spfifo05/spfifo05.scn is written in an unsupported language. File is not indexed.

0001 *** FIFO / PIPE TESTS - 5 ***
0002 Init - Creating fifo file /fifo
0003 Init - starting the read task
0004 Init - waiting at a barrier
0005 read_task - opening /fifo in non-blocking mode
0006 read_task - attempt to read with number of writers = 0
0007 read_task - releasing the write task
0008 read_task - waiting at a barrier
0009 Init - opening the fifo in write only mode -- OK
0010 Init - writing to /fifo
0011 Init - releasing the read_task
0012 Init - waiting at a barrier
0013 read_task - attempting to read from the fifo -- Expect EAGAIN
0014 read_task - closing /fifo
0015 read_task - opening /fifo in read-only mode
0016 read_task - releasing the write task
0017 read_task - reading from /fifo - OKInit - writing to /fifo - OK
0018 
0019 Init - writing to /fifo - OK
0020 read_task - reading from /fifo - OK
0021 read_task - waiting at a barrierInit - releasing the read_task
0022 
0023 Init - waiting at a barrier
0024 read_task - reading from /fifo - OK
0025 read_task - releasing the write task
0026 read_task - waiting at a barrier
0027 Init - converting the write-mode to non-block
0028 Init - writing to /fifo - OK
0029 Init - writing to /fifo - Expect EAGAIN
0030 Init - releasing the read_task
0031 Init - waiting at a barrier
0032 read_task - releasing the write task
0033 Init - writing to /fifo - Expect EPIPE
0034 Removing the fifo
0035 *** END OF FIFO / PIPE OPEN TEST - 6 ***
0036