From 5f8bb124516e7aee34be64987fd24e063508440c Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 4 Jul 2005 01:11:06 +0000 Subject: [PATCH] Branch b1_4 Don't spit error if MDS isn't local. --- lustre/tests/sanity.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 77b4e45..4045f28 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -919,8 +919,7 @@ reset_enospc() { rmdir $DIR/d27/nospc } -MDS=$(find $LPROC/mds/ -maxdepth 1 -type d | tail -n 1) -MDS=$(basename $MDS) +MDS=$(\ls $LPROC/mds 2> /dev/null | grep -v num_refs | tail -n 1) exhaust_precreations() { local i -- 1.8.3.1