diff options
Diffstat (limited to 'contrib/pjdfstest/tests/rmdir/14.t')
-rw-r--r-- | contrib/pjdfstest/tests/rmdir/14.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/pjdfstest/tests/rmdir/14.t b/contrib/pjdfstest/tests/rmdir/14.t index bc72920..bdefeae 100644 --- a/contrib/pjdfstest/tests/rmdir/14.t +++ b/contrib/pjdfstest/tests/rmdir/14.t @@ -14,14 +14,14 @@ n0=`namegen` n1=`namegen` expect 0 mkdir ${n0} 0755 -n=`mdconfig -a -n -t malloc -s 1m` -newfs /dev/md${n} >/dev/null -mount /dev/md${n} ${n0} +n=`mdconfig -a -n -t malloc -s 1m` || exit +newfs /dev/md${n} >/dev/null || exit +mount /dev/md${n} ${n0} || exit expect 0 mkdir ${n0}/${n1} 0755 mount -ur /dev/md${n} expect EROFS rmdir ${n0}/${n1} mount -uw /dev/md${n} expect 0 rmdir ${n0}/${n1} umount /dev/md${n} -mdconfig -d -u ${n} +mdconfig -d -u ${n} || exit expect 0 rmdir ${n0} |