check for mkfs/mount failure
authorDavid Disseldorp <ddiss@sgi.com>
Fri, 18 May 2007 06:08:08 +0000 (06:08 +0000)
committerDavid Disseldorp <ddiss@sgi.com>
Fri, 18 May 2007 06:08:08 +0000 (06:08 +0000)
Merge of master-melb:xfs-cmds:28623a by kenmcd.

015

diff --git a/015 b/015
index 8a336d1cd7c94ba3170c34abd1cc16cd2a2539ec..9b788370ae436b6dc5bedd38ca6b1f1fba52620a 100755 (executable)
--- a/015
+++ b/015
@@ -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