repo.or.cz
/
freebsd-src
/
fkvm-freebsd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
turns printfs back on
[freebsd-src/fkvm-freebsd.git]
/
tools
/
regression
/
fstest
/
tests
/
open
/
17.t
blob
2224daf5ea59ab33431cc7aacbd0369d9f94a488
1
#!/bin/sh
2
# $FreeBSD$
3
4
desc
=
"open returns ENXIO when O_NONBLOCK is set, the named file is a fifo, O_WRONLY is set, and no process has the file open for reading"
5
6
dir
=
`dirname
$0
`
7
.
${dir}
/
..
/
misc.sh
8
9
echo
"1..3"
10
11
n0
=
`namegen`
12
13
expect
0
mkfifo
${n0}
0644
14
expect ENXIO open
${n0}
O_WRONLY
,
O_NONBLOCK
15
expect
0
unlink
${n0}