From 42d90983a36e17895b6f804dc8073084c02be43e Mon Sep 17 00:00:00 2001
From: adilger <adilger>
Date: Sat, 24 Jan 2004 00:58:45 +0000
Subject: [PATCH] Do what I actually did in b_bug974 when I was testing this.

---
 lustre/tests/sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 5c3689935b..551b9d7b1c 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -1521,7 +1521,7 @@ test_52b() {
 run_test 52b "immutable flag test (should return errors) ======="
 
 test_53() {
-        for i in `ls /proc/fs/lustre/osc/OSC*mds1 2> /dev/null` ; do
+        for i in `ls -d /proc/fs/lustre/osc/OSC*mds1 2> /dev/null` ; do
                 ostname=`echo $i | cut -d _ -f 3-4 | sed -e s/_mds1//`
                 ost_last=`cat /proc/fs/lustre/obdfilter/$ostname/last_id`
                 mds_last=`cat $i/prealloc_last_id`
-- 
GitLab