Whamcloud - gitweb
Exit from XML configs if there is an error.
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 config=echo.xml
4 lmc=../utils/lmc
5 lconf=../utils/lconf
6
7 # create nodes
8 $lmc -o $config --node localhost --net localhost tcp || exit 1
9 $lmc -m $config --node localhost --obdtype=obdecho --ost|| exit 2
10 # force the osc to be configured (this is normally done when it is mounted)
11 $lmc -m $config --node localhost --osc OSC_localhost|| exit 3
12
13 $lconf --gdb $config || exit 4
14
15 cat <<EOF
16
17 run getattr tests as:
18 ../utils/lctl --device '\$OSC_localhost' test_getattr 1000000
19 EOF
20