X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fmdsrate-lookup-1dir.sh;h=221a4058289d32ee81993e48ced3ccc8c06170ba;hb=00141b1a746d4733c2f52c7a7edec36da4cedcac;hp=bb85a78f72f0b75f0d93d597055def385e7bd254;hpb=4c1f690a6ea623934b5e825120d8e7986fa4a1a5;p=fs%2Flustre-release.git diff --git a/lustre/tests/mdsrate-lookup-1dir.sh b/lustre/tests/mdsrate-lookup-1dir.sh index bb85a78..221a405 100644 --- a/lustre/tests/mdsrate-lookup-1dir.sh +++ b/lustre/tests/mdsrate-lookup-1dir.sh @@ -9,13 +9,12 @@ # perform lookups for 10 minutes. This test can be run from a single node for # #1 and from all nodes for #2 aggregate test to measure lookup performance. -LUSTRE=${LUSTRE:-`dirname $0`/..} +LUSTRE=${LUSTRE:-$(dirname $0)/..} . $LUSTRE/tests/test-framework.sh init_test_env $@ -. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} + assert_env CLIENTS MDSRATE SINGLECLIENT MPIRUN -MACHINEFILE=${MACHINEFILE:-$TMP/$(basename $0 .sh).machines} # Do not use name [df][0-9]* to avoid cleanup by rm, bug 18045 BASEDIR=$MOUNT/mdsrate TESTDIR=$BASEDIR/lookup