From: anserper Date: Wed, 3 Dec 2008 17:29:13 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_150~1^222 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c6d30a687d54b2d3448378579ba4d7cbc4303ef4;p=fs%2Flustre-release.git Branch b1_8_gate b=17770 i=Elena Gryaznova avoid using quota_usr/quota_2usr groups --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index b803240..7dcb840 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -135,10 +135,10 @@ lustre_fail() { esac } -RUNAS="runas -u $TSTID" -RUNAS2="runas -u $TSTID2" -FAIL_ON_ERROR=true check_runas_id $TSTID $RUNAS -FAIL_ON_ERROR=true check_runas_id $TSTID2 $RUNAS2 +RUNAS="runas -u $TSTID -g $TSTID" +RUNAS2="runas -u $TSTID2 -g $TSTID2" +FAIL_ON_ERROR=true check_runas_id $TSTID $TSTID $RUNAS +FAIL_ON_ERROR=true check_runas_id $TSTID2 $TSTID2 $RUNAS2 FAIL_ON_ERROR=false @@ -1161,7 +1161,7 @@ test_14b(){ MISSING_USERS="" for i in `seq 1 30`; do - check_runas_id_ret quota15_$i "runas -u quota15_$i" >/dev/null 2>/dev/null + check_runas_id_ret quota15_$i quota_usr "runas -u quota15_$i -g quota_usr" >/dev/null 2>/dev/null if [ "$?" != "0" ]; then MISSING_USERS="$MISSING_USERS quota15_$i" fi