From 8fb0d7ec59509b460f6c5842f8131d93137ad5ba Mon Sep 17 00:00:00 2001 From: rread Date: Fri, 18 Oct 2002 19:39:03 +0000 Subject: [PATCH] * allow lmc and lconf paths to be overridden in installed scripts --- lustre/.cvsignore | 1 + lustre/tests/.cvsignore | 1 + lustre/tests/llecho.sh | 12 ++++++------ lustre/tests/llmount.sh | 2 +- lustre/tests/llmountcleanup.sh | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/lustre/.cvsignore b/lustre/.cvsignore index 2172c53..953c699 100644 --- a/lustre/.cvsignore +++ b/lustre/.cvsignore @@ -9,3 +9,4 @@ Makefile.in .deps tags TAGS +lustre*.tar.gz diff --git a/lustre/tests/.cvsignore b/lustre/tests/.cvsignore index f2ce028..8ede66f 100644 --- a/lustre/tests/.cvsignore +++ b/lustre/tests/.cvsignore @@ -21,3 +21,4 @@ test_brw newfile openclose createdestroy +lovstripe diff --git a/lustre/tests/llecho.sh b/lustre/tests/llecho.sh index 6a7b110..f6cbad6 100644 --- a/lustre/tests/llecho.sh +++ b/lustre/tests/llecho.sh @@ -1,20 +1,20 @@ #!/bin/sh config=echo.xml -lmc=../utils/lmc -lconf=../utils/lconf +LCONF=${LCONF:-../utils/lconf} +LMC=${LMC:-../utils/lmc} SERVER=localhost CLIENT=localhost # create nodes -$lmc -o $config --node $SERVER --net $SERVER tcp || exit 1 -$lmc -m $config --node $SERVER --obdtype=obdecho --ost || exit 2 +$LMC -o $config --node $SERVER --net $SERVER tcp || exit 1 +$LMC -m $config --node $SERVER --obdtype=obdecho --ost || exit 2 # force the osc to be configured (this is normally done when it is mounted) -$lmc -m $config --node $CLIENT --osc OSC_$SERVER || exit 3 +$LMC -m $config --node $CLIENT --osc OSC_$SERVER || exit 3 -$lconf --gdb $config || exit 4 +$LCONF --gdb $config || exit 4 cat <