4 desc
="rename returns EROFS if the requested link requires writing in a directory on a read-only file system"
17 expect
0 mkdir
${n0} 0755
18 n
=`mdconfig -a -n -t malloc -s 1m`
19 newfs
/dev
/md
${n} >/dev
/null
20 mount
/dev
/md
${n} ${n0}
21 expect
0 create
${n0}/${n1} 0644
24 expect EROFS rename
${n0}/${n1} ${n0}/${n2}
25 expect EROFS rename
${n0}/${n1} ${n2}
26 expect
0 create
${n2} 0644
27 expect EROFS rename
${n2} ${n0}/${n2}