From: grev Date: Thu, 13 Mar 2008 19:33:11 +0000 (+0000) Subject: b=15219 X-Git-Tag: v1_7_0_51~122 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f0049ccbc38f5099f111c68caebfa2277396fa9b;p=fs%2Flustre-release.git b=15219 i=Adilger fix local.sh and insanity-local.sh to support not default MKFSOPTs --- diff --git a/lustre/tests/cfg/insanity-local.sh b/lustre/tests/cfg/insanity-local.sh index 1a9f5dd..5249250 100644 --- a/lustre/tests/cfg/insanity-local.sh +++ b/lustre/tests/cfg/insanity-local.sh @@ -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" ] && diff --git a/lustre/tests/cfg/local.sh b/lustre/tests/cfg/local.sh index 393e5ce..9fccbbf 100644 --- a/lustre/tests/cfg/local.sh +++ b/lustre/tests/cfg/local.sh @@ -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" ] &&