Whamcloud - gitweb
950ef716df01430e5d419d159b36189677ef6cb8
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 SRCDIR="`dirname $0`"
4 . $SRCDIR/common.sh
5
6 NETWORK=tcp
7 LOCALHOST=localhost
8 SERVER=localhost
9 PORT=1234
10
11 setup_portals
12 setup_lustre
13
14 $OBDCTL <<EOF
15 newdev
16 attach obdecho OBDDEV
17 setup
18 newdev
19 attach ost OSTDEV
20 setup \$OBDDEV
21 newdev
22 attach osc OSCDEV
23 setup -1
24 quit
25 EOF
26
27 cat <<EOF
28
29 run getattr tests as:
30 obdctl --device 2 test_getattr 1000000
31 EOF