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
Add mds filesystem helper modules to setup and cleanup.
[fs/lustre-release.git]
/
lustre
/
tests
/
llecho.sh
diff --git
a/lustre/tests/llecho.sh
b/lustre/tests/llecho.sh
index
e0a2328
..
7296f0d
100644
(file)
--- a/
lustre/tests/llecho.sh
+++ b/
lustre/tests/llecho.sh
@@
-1,31
+1,13
@@
#!/bin/sh
#!/bin/sh
-SRCDIR="`dirname $0`"
+SRCDIR="`dirname $0`
/
"
. $SRCDIR/common.sh
. $SRCDIR/common.sh
-NETWORK=tcp
-LOCALHOST=localhost
-SERVER=localhost
-PORT=1234
-
-setup_portals
-setup_lustre
-
-$OBDCTL <<EOF
-device 0
-attach obdecho OBDDEV
-setup
-device 1
-attach ost OSTDEV
-setup 0
-device 2
-attach osc OSCDEV
-setup -1
-quit
-EOF
+export DEBUG_WAIT=yes
+. $SRCDIR/llsetup.sh $SRCDIR/net-local.cfg $SRCDIR/obdecho.cfg $SRCDIR/client-echo.cfg
cat <<EOF
run getattr tests as:
cat <<EOF
run getattr tests as:
-
obdctl --device 2
test_getattr 1000000
+
$OBDCTL --device `$OBDCTL name2dev OSCDEV`
test_getattr 1000000
EOF
EOF