Fix the intermittent test failure due to the failure of mkfs.
authorMohamed Barwani <mohamedb@sgi.com>
Fri, 30 Nov 2007 05:14:17 +0000 (05:14 +0000)
committerMohamed Barwani <mohamedb@sgi.com>
Fri, 30 Nov 2007 05:14:17 +0000 (05:14 +0000)
Merge of master-melb:xfs-cmds:30166a by kenmcd.

  remove an extra redundand argument to mkfs which causes the failure of mkfs.

054

diff --git a/054 b/054
index d29aad184e0edcd36653e976e2ed7249f5637a42..98d2c209984919683ca43a968d0bc029301be0a6 100755 (executable)
--- a/054
+++ b/054
@@ -85,7 +85,8 @@ _exercise()
        umount $SCRATCH_MNT 2>/dev/null
 }
 
-_scratch_mkfs_xfs $SCRATCH_DEV >/dev/null 2>&1
+_scratch_mkfs_xfs >> $seq.full 2>&1 || _fail "mkfs failed!"
+
 _qmount_option "uquota,gquota"
 _qmount
 if src/feature -G $SCRATCH_DEV ; then