Make test 41 fail if it cannot run mkfs successfully.

Merge of master-melb:xfs-cmds:25749a by kenmcd.
This commit is contained in:
Nathan Scott
2006-04-18 03:48:00 +00:00
parent af59350a27
commit c16d3b2281
+3 -2
View File
@@ -37,7 +37,7 @@ _supported_os IRIX Linux
_require_scratch
_require_nobigloopfs
umount $SCRATCH_DEV 2>/dev/null
_fill()
{
@@ -48,11 +48,12 @@ _fill()
_do_die_on_error=message_only
rm -f $seq.full
#agsize=16
agsize=32
echo -n "Make $agsize megabyte filesystem on SCRATCH_DEV and mount... "
_do "_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1"
[ $? -ne 0 ] && exit
_do "_scratch_mount"
[ $? -ne 0 ] && exit
echo "done"
# full allocation group -> partial; partial -> expand partial + new partial;