4 desc
="unlink returns EROFS if the named file resides on a read-only file system"
16 expect
0 mkdir
${n0} 0755
17 n
=`mdconfig -a -n -t malloc -s 1m`
18 newfs
/dev
/md
${n} >/dev
/null
19 mount
/dev
/md
${n} ${n0}
20 expect
0 create
${n0}/${n1} 0644
22 expect EROFS unlink
${n0}/${n1}
24 expect
0 unlink
${n0}/${n1}