From: Niu Yawei Date: Thu, 17 Jul 2014 03:39:55 +0000 (-0400) Subject: LU-5359 quota: typo in s-q script X-Git-Tag: 2.6.51~48 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F11125%2F2;p=fs%2Flustre-release.git LU-5359 quota: typo in s-q script quota_scan() should report group quota when group is specified, however, it reports user quota mistakenly. Signed-off-by: Niu Yawei Change-Id: I9aa178cd4dc51065d23580c72884851b0baef6e1 Reviewed-on: http://review.whamcloud.com/11125 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Fan Yong Reviewed-by: Bobi Jam Reviewed-by: Johann Lombardi --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 9e3ded1..db26a05 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -138,7 +138,7 @@ quota_scan() { fi if [ "$LOCAL_UG" == "a" -o "$LOCAL_UG" == "g" ]; then - $LFS quota -v -u $LOCAL_ID $DIR + $LFS quota -v -g $LOCAL_ID $DIR log "Files for group ($LOCAL_ID):" ($LFS find -group $LOCAL_ID $DIR | head -n 4 | xargs stat 2>/dev/null)