diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-24 19:46:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-24 19:46:40 +0000 |
commit | 287febb50397f321d5a38f8d7df668833c192125 (patch) | |
tree | 55a6185fe030fc3190925d939ea680980c76f736 /testsuites/sptests/spfifo03/spfifo03.doc | |
parent | 2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-287febb50397f321d5a38f8d7df668833c192125.tar.bz2 |
2010-06-24 Bharath Suri <bharath.s.jois@gmail.com>
* Makefile.am, configure.ac: Removed some fifo tests.
* spfifo01/Makefile.am, spfifo01/init.c: Minor changes to avoid
excessive new lines in the output.
spfifo02/Makefile.am, spfifo02/init.c, spfifo02/spfifo02.doc,
spfifo02/spfifo02.scn, spfifo03/Makefile.am: Merge from spfifo08.
Also added a few more cases, mostly from spfifo04/init.c.
* spfifo03/init.c, spfifo03/spfifo03.doc, spfifo03/spfifo03.scn:
Previously was spfifo06. Configure parameter for pipes is used now.
* spfifo04/.cvsignore, spfifo04/Makefile.am, spfifo04/init.c,
spfifo04/spfifo04.doc, spfifo04/spfifo04.scn, spfifo08/.cvsignore,
spfifo08/Makefile.am, spfifo08/init.c, spfifo08/spfifo08.doc,
spfifo08/spfifo08.scn: Removed.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spfifo03/spfifo03.doc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/testsuites/sptests/spfifo03/spfifo03.doc b/testsuites/sptests/spfifo03/spfifo03.doc index 7c74bcbe1d..20a36b4b92 100644 --- a/testsuites/sptests/spfifo03/spfifo03.doc +++ b/testsuites/sptests/spfifo03/spfifo03.doc @@ -1,8 +1,8 @@ # # $Id$ # -# COPYRIGHT (c) 2010 -# Bharath Suri<bharath.s.jois@gmail.com>. +# COPYRIGHT (c) 1989-1999. +# On-Line Applications Research Corporation (OAR). # # The license and distribution terms for this file may be # found in the file LICENSE in this distribution or at @@ -13,9 +13,15 @@ This file describes the directives and concepts tested by this test set. Configuration: -Pipes enabled. Maximum number of barriers is set to 1. +- Pipes enabled +- Resources available >= Resources required + - Semaphores, pipes, barriers etc. -Expected: +Coverage concepts: -Pipe requires 2 barriers to be created. With max number of barriers -set to 1, fifo_open fails with EINTR +- Main task also acts as the write task +- Main task creates another task: for reading +- Write task is responsible for writing to the pipe and the read task + reads from the pipe +- The pipe is opened twice, such that the write task blocks on open + once and the read task blocks on open the 2nd time |