Whamcloud - gitweb
Do what I actually did in b_bug974 when I was testing this.
authoradilger <adilger>
Sat, 24 Jan 2004 00:58:45 +0000 (00:58 +0000)
committeradilger <adilger>
Sat, 24 Jan 2004 00:58:45 +0000 (00:58 +0000)
lustre/tests/sanity.sh

index 5c36899..551b9d7 100644 (file)
@@ -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`