4 desc="open returns ENOSPC when O_CREAT is specified, the file does not exist, and there are no free inodes on the file system on which the file is being created"
9 [ "${os}:${fs}" = "FreeBSD:UFS" ] || quick_exit
16 expect 0 mkdir ${n0} 0755
17 n=`mdconfig -a -n -t malloc -s 256k`
18 newfs /dev/md${n} >/dev/null
19 mount /dev/md${n} ${n0}
22 touch ${n0}/${i} >/dev/null 2>&1
28 expect ENOSPC open ${n0}/${i} O_RDONLY,O_CREAT 0644