Whamcloud - gitweb
b=15219
authorgrev <grev>
Thu, 13 Mar 2008 19:33:11 +0000 (19:33 +0000)
committergrev <grev>
Thu, 13 Mar 2008 19:33:11 +0000 (19:33 +0000)
i=Adilger

fix local.sh and insanity-local.sh to support not default MKFSOPTs

lustre/tests/cfg/insanity-local.sh
lustre/tests/cfg/local.sh

index 1a9f5dd..5249250 100644 (file)
@@ -40,7 +40,7 @@ MOUNTOPT=""
 [ "x$MDSISIZE" != "x" ] &&
     MKFSOPT=$MKFSOPT" -i $MDSISIZE"
 [ "x$MKFSOPT" != "x" ] &&
-    MKFSOPT="--mkfsoptions=\"$MKFSOPT\""
+    MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\""
 [ "x$MDSCAPA" != "x" ] &&
     MKFSOPT="--param mdt.capa=$MDSCAPA"
 [ "x$mdsfailover_HOST" != "x" ] &&
@@ -58,7 +58,7 @@ MOUNTOPT=""
 [ "x$OSTJOURNALSIZE" != "x" ] &&
     MKFSOPT=$MKFSOPT" -J size=$OSTJOURNALSIZE"
 [ "x$MKFSOPT" != "x" ] &&
-    MKFSOPT="--mkfsoptions=\"$MKFSOPT\""
+    MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\""
 [ "x$OSSCAPA" != "x" ] &&
     MKFSOPT="--param ost.capa=$OSSCAPA"
 [ "x$ostfailover_HOST" != "x" ] &&
index 393e5ce..9fccbbf 100644 (file)
@@ -63,7 +63,7 @@ MOUNTOPT=""
 [ "x$OSTJOURNALSIZE" != "x" ] &&
     MKFSOPT=$MKFSOPT" -J size=$OSTJOURNALSIZE"
 [ "x$MKFSOPT" != "x" ] &&
-    MKFSOPT="--mkfsoptions=\"$MKFSOPT\""
+    MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\""
 [ "x$OSSCAPA" != "x" ] &&
     MKFSOPT="--param ost.capa=$OSSCAPA"
 [ "x$ostfailover_HOST" != "x" ] &&