17.t revision 166065
1166065Spjd#!/bin/sh 2166065Spjd# $FreeBSD: head/tools/regression/fstest/tests/open/17.t 166065 2007-01-17 01:42:12Z pjd $ 3166065Spjd 4166065Spjddesc="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" 5166065Spjd 6166065Spjddir=`dirname $0` 7166065Spjd. ${dir}/../misc.sh 8166065Spjd 9166065Spjdecho "1..3" 10166065Spjd 11166065Spjdn0=`namegen` 12166065Spjd 13166065Spjdexpect 0 mkfifo ${n0} 0644 14166065Spjdexpect ENXIO open ${n0} O_WRONLY,O_NONBLOCK 15166065Spjdexpect 0 unlink ${n0} 16