summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo04/spfifo04.scn
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-07 19:09:28 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-07 19:09:28 +0000
commitcfde647908a03c214ea49e247be7b2decd874b8e (patch)
tree63ae6ea30f8bb59e95392b9d79a172a2265c4cc1 /testsuites/sptests/spfifo04/spfifo04.scn
parent2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cfde647908a03c214ea49e247be7b2decd874b8e.tar.bz2
2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
PR PR1542 * Makefile.am, configure.ac: Coverage improvement: fifo_open. * spfifo01/spfifo01.doc, spfifo01/spfifo01.scn, spfifo01/test.c, spfifo02/Makefile.am, spfifo02/main.c, spfifo02/spfifo02.doc, spfifo02/spfifo02.scn, spfifo02/test.c, spfifo03/Makefile.am, spfifo03/main.c, spfifo03/spfifo03.doc, spfifo03/spfifo03.scn, spfifo03/test.c, spfifo04/Makefile.am, spfifo04/main.c, spfifo04/spfifo04.doc, spfifo04/spfifo04.scn, spfifo04/test.c: New files.
Diffstat (limited to 'testsuites/sptests/spfifo04/spfifo04.scn')
-rw-r--r--testsuites/sptests/spfifo04/spfifo04.scn50
1 files changed, 50 insertions, 0 deletions
diff --git a/testsuites/sptests/spfifo04/spfifo04.scn b/testsuites/sptests/spfifo04/spfifo04.scn
new file mode 100644
index 0000000000..c806e24837
--- /dev/null
+++ b/testsuites/sptests/spfifo04/spfifo04.scn
@@ -0,0 +1,50 @@
+Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No such file or directory
+Initialized console on port COM1 9600-8-N-1
+
+
+
+*** FIFO / PIPE OPEN TEST - 4 ***
+
+
+Configuration: Pipes configured, but number of barriers configured = 2
+
+
+
+Creating directory /tmp
+
+
+Creating fifo /tmp/fifo
+
+
+Attempt to open the fifo file in RDWR mode
+
+Should be successful and non-negativefile descriptor expected
+
+
+Closing the fifo file
+
+
+Attempt to open the fifo file in RDONLY and NONBLOCK mode
+
+Should be successful and non-negativefile descriptor expected
+
+
+Closing the fifo file
+
+
+Attempt to open the fifo file in WRONLY and NONBLOCK mode
+
+Should return with an error ENXIO
+
+
+Multiple opens
+
+1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23...
+
+Remove the entry /tmp/fifo01
+
+
+Remove directory /tmp
+
+
+*** END OF FIFO / PIPE OPEN TEST - 4 ***