17.t revision 166065
1#!/bin/sh 2# $FreeBSD: head/tools/regression/fstest/tests/open/17.t 166065 2007-01-17 01:42:12Z pjd $ 3 4desc="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 6dir=`dirname $0` 7. ${dir}/../misc.sh 8 9echo "1..3" 10 11n0=`namegen` 12 13expect 0 mkfifo ${n0} 0644 14expect ENXIO open ${n0} O_WRONLY,O_NONBLOCK 15expect 0 unlink ${n0} 16