summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo04/spfifo04.scn
blob: c806e24837b517e1f87907ee20a746bfac02543a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 ***