Whamcloud - gitweb
Merge b_md to HEAD for 0.5.19 release.
[fs/lustre-release.git] / lustre / tests / llecho.sh
index 19572d3..c077223 100644 (file)
@@ -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 <<EOF
 
 run getattr tests as:
-../utils/lctl --device '\$OSC_$SERVER' test_getattr 1000000
+../utils/lctl --device '\$ECHO_$SERVER' test_getattr 1000000
 EOF
-