X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Ftests%2Fparallel-scale.sh;h=9fb568f45e54bd3aa4eb0810d1b9806336350653;hb=273e40aa6a61423ddf9c9cea4c1b9d092f0d3116;hp=b64b78cebb3427944c440586a2bacb0a829d8151;hpb=8c4f96f910786ff3d73474ef5f8d4a96a30a0bed;p=fs%2Flustre-release.git diff --git a/lustre/tests/parallel-scale.sh b/lustre/tests/parallel-scale.sh index b64b78c..9fb568f 100644 --- a/lustre/tests/parallel-scale.sh +++ b/lustre/tests/parallel-scale.sh @@ -596,12 +596,12 @@ test_statahead () { local num_mntpts=$statahead_NUMMNTPTS local mntpt_root=$TMP/mntpt/lustre - mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} + local mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} echo "Mounting $num_mntpts lustre clients starts on $clients" trap "cleanup_statahead $clients $mntpt_root $num_mntpts" EXIT ERR for i in $(seq 0 $num_mntpts); do - zconf_mount_clients $clients ${mntpt_root}$i $mntopts || + zconf_mount_clients $clients ${mntpt_root}$i "$mntopts" || error_exit "Failed to mount lustre on ${mntpt_root}$i on $clients" done