From: Andrew Perepechko Date: Wed, 31 Mar 2010 14:06:43 +0000 (+0400) Subject: b=22194 sanity-quota cleanups X-Git-Tag: 1.8.3~25 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f57a34866b1b849514edc6afee1760c0e5f4b45e;p=fs%2Flustre-release.git b=22194 sanity-quota cleanups This is the missing part of the original patch (att29160) i=ZhiYong Tian --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index ab4af51..8b004b2 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -399,7 +399,7 @@ test_2_sub() { # interop 18 <-> 20 local dev=$(get_mds_mdt_device_proc_path) MDS_UUID=`do_facet mds $LCTL dl | grep -m1 " $dev " | awk '{print $((NF-1))}'` - MDS_QUOTA_USED=`$LFS quota -o $MDS_UUID -u $TSTUSR $DIR | awk '{ print $5 }'` + MDS_QUOTA_USED=`$LFS quota -q -o $MDS_UUID -u $TSTUSR $DIR | awk '{ print $5 }'` echo $MDS_QUOTA_USED [ $MDS_QUOTA_USED -ne 0 ] && \ ($SHOW_QUOTA_USER; quota_error u $TSTUSR "(usr) quota deleted isn't released") @@ -427,7 +427,7 @@ test_2_sub() { sync; sleep 1; sync; MDS_UUID=`do_facet mds $LCTL dl | grep -m1 " $dev " | awk '{print $((NF-1))}'` - MDS_QUOTA_USED=`$LFS quota -o $MDS_UUID -g $TSTUSR $DIR | awk '{ print $5 }'` + MDS_QUOTA_USED=`$LFS quota -q -o $MDS_UUID -g $TSTUSR $DIR | awk '{ print $5 }'` echo $MDS_QUOTA_USED [ $MDS_QUOTA_USED -ne 0 ] && \ ($SHOW_QUOTA_GROUP; quota_error g $TSTUSR "(grp) quota deleted isn't released")