From 2bc269cffb5d92d3023c4695bbda6da2c282f003 Mon Sep 17 00:00:00 2001 From: rread Date: Wed, 28 Aug 2002 01:19:35 +0000 Subject: [PATCH] * llecho.sh reimplemnted to use lmc/lconf * llechocleanup.sh added for completeness * small changes to tools to support llecho.sh --- lustre/tests/llecho.sh | 17 ++++++++++++----- lustre/tests/llechocleanup.sh | 10 ++++++++++ lustre/utils/lconf | 20 +++++++++++++++----- lustre/utils/lmc | 20 +++++++++++++++++++- 4 files changed, 56 insertions(+), 11 deletions(-) create mode 100755 lustre/tests/llechocleanup.sh diff --git a/lustre/tests/llecho.sh b/lustre/tests/llecho.sh index 7296f0d..95d40f8 100644 --- a/lustre/tests/llecho.sh +++ b/lustre/tests/llecho.sh @@ -1,13 +1,20 @@ #!/bin/sh -SRCDIR="`dirname $0`/" -. $SRCDIR/common.sh +config=echo.xml +lmc=../utils/lmc +lconf=../utils/lconf -export DEBUG_WAIT=yes -. $SRCDIR/llsetup.sh $SRCDIR/net-local.cfg $SRCDIR/obdecho.cfg $SRCDIR/client-echo.cfg +# create nodes +$lmc -o $config --node localhost --net localhost tcp +$lmc -m $config --node localhost --obdtype=obdecho --ost +# force the osc to be configured (this is normally done when it is mounted) +$lmc -m $config --node localhost --osc OSC_localhost + +$lconf --gdb $config cat <