From: adilger Date: Sat, 24 Jan 2004 00:52:42 +0000 (+0000) Subject: Don't run test 56 with bogus /proc file name on client-only setup. X-Git-Tag: 1.0.3~15 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=79c3ccdf440b6faa5eff604c4d600b567ab50776;p=fs%2Flustre-release.git Don't run test 56 with bogus /proc file name on client-only setup. --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index f216784..5c36899 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 /proc/fs/lustre/osc/OSC*mds1 ; do + for i in `ls /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`