From f0049ccbc38f5099f111c68caebfa2277396fa9b Mon Sep 17 00:00:00 2001 From: grev Date: Thu, 13 Mar 2008 19:33:11 +0000 Subject: [PATCH] b=15219 i=Adilger fix local.sh and insanity-local.sh to support not default MKFSOPTs --- lustre/tests/cfg/insanity-local.sh | 4 ++-- lustre/tests/cfg/local.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" ] && -- 1.8.3.1