From ffde2c7546da9ef5d210b7fa970e8dd015dd597e Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 17 Sep 2002 22:06:20 +0000 Subject: [PATCH] Fix badness in test scripts. --- lustre/tests/runregression-brw.sh | 2 +- lustre/tests/runregression-net.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/runregression-brw.sh b/lustre/tests/runregression-brw.sh index a2c3740..6925ec2 100644 --- a/lustre/tests/runregression-brw.sh +++ b/lustre/tests/runregression-brw.sh @@ -4,7 +4,7 @@ export PATH=/sbin:/usr/sbin:$PATH SRCDIR="`dirname $0`/" . $SRCDIR/common.sh -OSCDEV="`device_list 2> /dev/null | awk '/ UP osc / { print $4 }'`" +OSCDEV="`$OBDCTL device_list 2> /dev/null | awk '/ UP osc / { print $4 }'`" if [ -z "$OSCDEV" ]; then echo "$0: needs an OSC set up first" 1>&2 diff --git a/lustre/tests/runregression-net.sh b/lustre/tests/runregression-net.sh index 4bbb79b..fe1bc68 100644 --- a/lustre/tests/runregression-net.sh +++ b/lustre/tests/runregression-net.sh @@ -4,7 +4,7 @@ export PATH=/sbin:/usr/sbin:$PATH SRCDIR="`dirname $0`/" . $SRCDIR/common.sh -OSCDEV="`device_list 2> /dev/null | awk '/ osc | lov / { print $4 }' | tail -1`" +OSCDEV="`$OBDCTL device_list 2> /dev/null | awk '/ osc | lov / { print $4 }' | tail -1`" if [ -z "$OSCDEV" ]; then echo "$0: needs an OSC set up first" 1>&2 -- 1.8.3.1