diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-02 18:07:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-02 18:07:12 +0000 |
commit | b3eb018574d446fa5ae8e46aed54c02183f2e4d6 (patch) | |
tree | f376638ebd83949ce729f7109740d733ba08e04a /testsuites/sptests/spfifo04/spfifo04.scn | |
parent | 2010-07-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-b3eb018574d446fa5ae8e46aed54c02183f2e4d6.tar.bz2 |
2010-07-02 Bharath Suri <bharath.s.jois@gmail.com>
PR 1600/testing
* spfifo04/init.c, spfifo04/spfifo04.doc, spfifo04/spfifo04.scn,
spfifo04/Makefile.am: New files to improve coverage on fifo/pipe
routines
* Makefile.am, configure.ac: Add new test.
Diffstat (limited to 'testsuites/sptests/spfifo04/spfifo04.scn')
-rw-r--r-- | testsuites/sptests/spfifo04/spfifo04.scn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/sptests/spfifo04/spfifo04.scn b/testsuites/sptests/spfifo04/spfifo04.scn new file mode 100644 index 0000000000..3fed675ef2 --- /dev/null +++ b/testsuites/sptests/spfifo04/spfifo04.scn @@ -0,0 +1,13 @@ +*** TEST PIPE/FIFO - 04 *** +Init - Creating /fifo +Init - Opening /fifo in readonly, non-blocking mode +Init - Attempt to lseek on fifo -- Expected ESPIPE +Init - ioctl: FIONBIO -- Expected EFAULT +Init - ioctl: FIONBIO -- OK +Init - ioctl: FIONBIO -- OK +Init - ioctl: Dummy Command -- Expected EINVAL +Init - ioctl: FIONREAD -- Expected EFAULT +Init - ioctl: FIONREAD -- OK +Init - closing /fifo +Init - removing /fifo +*** END OF TEST PIPE/FIFO - 04 *** |