Whamcloud - gitweb
Minor fix so that the printed output is actually what we want to run.
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 config=echo.xml
4 LCONF=${LCONF:-../utils/lconf}
5 LMC=${LMC:-../utils/lmc}
6
7 SERVER=localhost
8 CLIENT=localhost
9
10 # create nodes
11 $LMC -o $config --node $SERVER --net $SERVER tcp || exit 1
12 $LMC -m $config --node $SERVER --obdtype=obdecho --ost || exit 2
13
14 # force the osc to be configured (this is normally done when it is mounted)
15 $LMC -m $config --node $CLIENT --osc OSC_$SERVER || exit 3
16
17 $LCONF --gdb $config || exit 4
18
19 cat <<EOF
20
21 run getattr tests as:
22 ../utils/lctl --device '\$OSC_$SERVER' test_getattr 1000000
23 EOF
24