Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=3031
[fs/lustre-release.git]
/
lustre
/
tests
/
llecho.sh
diff --git
a/lustre/tests/llecho.sh
b/lustre/tests/llecho.sh
index
ea65259
..
a30a6b6
100644
(file)
--- a/
lustre/tests/llecho.sh
+++ b/
lustre/tests/llecho.sh
@@
-1,38
+1,23
@@
#!/bin/sh
#!/bin/sh
-SRCDIR="`dirname $0`"
-. $SRCDIR/common.sh
-
-setup
-
-$PTLCTL <<EOF
-mynid localhost
-setup tcp
-connect localhost 1234
-add_uuid self
-add_uuid ost
-quit
-EOF
+PATH=`dirname $0`/../utils:$PATH
-echo 8191 > /proc/sys/portals/debug
-
-$OBDCTL <<EOF
-device 0
-attach obdecho
-setup
-device 1
-attach ost
-setup 0
-device 2
-attach osc
-setup -1
-quit
-EOF
+LCONF=${LCONF:-lconf}
+NAME=${NAME:-echo}
+
+config=$NAME.xml
+mkconfig=$NAME.sh
+
+if [ "$LUSTRE" ]; then
+ lustre_opt="--lustre=$LUSTRE"
+fi
+
+sh -x $mkconfig $config || exit 1
+
+$LCONF $lustre_opt --reformat $@ $OPTS $config || exit 4
cat <<EOF
cat <<EOF
+
run getattr tests as:
run getattr tests as:
-obdctl
-device 2
-connect
-test_getattr 1000000
+`dirname $0`../utils/lctl --device '\$ECHO_$SERVER' test_getattr 1000000
EOF
EOF