fixed mkfs options to stop failure when sunit and swidth are set as MKFS_OPTIONS
authorAllan Randall <allanr@sgi.com>
Fri, 23 Jun 2006 02:57:44 +0000 (02:57 +0000)
committerAllan Randall <allanr@sgi.com>
Fri, 23 Jun 2006 02:57:44 +0000 (02:57 +0000)
Merge of master-melb:xfs-cmds:26322a by kenmcd.

  fixed mkfs options to stop failure when sunit and swidth are set as MKFS_OPTIONS.

073

diff --git a/073 b/073
index 37bd17d86bd458cc572cb1dbab582df55e3749ee..a06651d68eedf8171834125a8a0817517e2ec0f0 100755 (executable)
--- a/073
+++ b/073
@@ -114,6 +114,7 @@ _supported_os Linux
 _require_scratch
 _require_loop
 
 _require_scratch
 _require_loop
 
+MKFS_OPTIONS="" #ignore external MKFS_OPTIONS
 _scratch_mkfs_xfs -dsize=41m,agcount=2 | _filter_mkfs 2>/dev/null
 _scratch_mount 2>/dev/null || _fail "initial scratch mount failed"
 
 _scratch_mkfs_xfs -dsize=41m,agcount=2 | _filter_mkfs 2>/dev/null
 _scratch_mount 2>/dev/null || _fail "initial scratch mount failed"