X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Ftests%2Fllecho.sh;h=a345f4f78d6a396072d56b013163d12a5fc4f404;hb=37ab828e8dc91225c9ed6daf221552266cf524ba;hp=95d40f8686303c036fe82f94b850512075544216;hpb=2bc269cffb5d92d3023c4695bbda6da2c282f003;p=fs%2Flustre-release.git diff --git a/lustre/tests/llecho.sh b/lustre/tests/llecho.sh index 95d40f8..a345f4f 100644 --- a/lustre/tests/llecho.sh +++ b/lustre/tests/llecho.sh @@ -1,20 +1,23 @@ #!/bin/sh -config=echo.xml -lmc=../utils/lmc -lconf=../utils/lconf +PATH=`dirname $0`/../utils:$PATH -# create nodes -$lmc -o $config --node localhost --net localhost tcp -$lmc -m $config --node localhost --obdtype=obdecho --ost -# force the osc to be configured (this is normally done when it is mounted) -$lmc -m $config --node localhost --osc OSC_localhost +LCONF=${LCONF:-lconf} +NAME=${NAME:-echo} -$lconf --gdb $config +config=$NAME.xml +mkconfig=$NAME.sh + +if [ "$LUSTRE" ]; then + lustre_opt="--lustre=$LUSTRE" +fi + +[ -f $config ] || sh -x $mkconfig $config || exit 1 + +$LCONF $lustre_opt --reformat $@ $OPTS $config || exit 4 cat <