Whamcloud - gitweb
Clean up llecho.sh script to use new helper methods
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 SRCDIR="`dirname $0`"
4 . $SRCDIR/common.sh
5
6 setup
7
8 $PTLCTL <<EOF
9 mynid localhost
10 setup tcp
11 connect localhost 1234
12 add_uuid self
13 add_uuid ost
14 quit
15 EOF
16
17 echo 8191 > /proc/sys/portals/debug
18
19 $OBDCTL <<EOF
20 device 0
21 attach obdecho
22 setup
23 device 1
24 attach ost
25 setup 0
26 device 2
27 attach osc
28 setup -1
29 quit
30 EOF
31
32 cat <<EOF
33 run getattr tests as:
34 obdctl 
35 device 2 
36 connect
37 test_getattr 1000000
38 EOF