check for mkfs/mount failure

Merge of master-melb:xfs-cmds:28623a by kenmcd.
This commit is contained in:
David Disseldorp
2007-05-18 06:08:08 +00:00
parent 498eb16b55
commit 471ab9011a
+2 -2
View File
@@ -51,8 +51,8 @@ _supported_os IRIX Linux
_require_scratch
_require_nobigloopfs
_scratch_mkfs_xfs -d size=50m >/dev/null
_scratch_mount
_scratch_mkfs_xfs -d size=50m >/dev/null || _fail "mkfs failed"
_scratch_mount || _fail "mount failed"
out=$SCRATCH_MNT/fillup.$$
rm -f $seq.full