summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo04/spfifo04.scn
diff options
context:
space:
mode:
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 ***