X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fllecho.sh;h=c077223922e2a0cd07e73c810d583490a5205283;hp=19572d3f35153820cec12c17da0ab6399a6760ee;hb=ccb42f2458669aaac84a661091b05a59bb781197;hpb=3853881ffbb33572c19924925498a6730dbd37bb diff --git a/lustre/tests/llecho.sh b/lustre/tests/llecho.sh index 19572d3..c077223 100644 --- a/lustre/tests/llecho.sh +++ b/lustre/tests/llecho.sh @@ -1,24 +1,17 @@ #!/bin/sh -config=echo.xml LCONF=${LCONF:-../utils/lconf} -LMC=${LMC:-../utils/lmc} +NAME=${NAME:-echo} -SERVER=localhost -CLIENT=localhost +config=$NAME.xml +mkconfig=./$NAME.sh -# create nodes -$LMC -o $config --node $SERVER --net $SERVER tcp || exit 1 -$LMC -m $config --node $SERVER --obdtype=obdecho --ost || exit 2 +sh $mkconfig $config || exit 1 -# force the osc to be configured (this is normally done when it is mounted) -$LMC -m $config --node $CLIENT --osc OSC_$SERVER || exit 3 - -$LCONF --gdb $config || exit 4 +$LCONF --reformat --gdb $OPTS $config || exit 4 cat <