From c6d30a687d54b2d3448378579ba4d7cbc4303ef4 Mon Sep 17 00:00:00 2001 From: anserper Date: Wed, 3 Dec 2008 17:29:13 +0000 Subject: [PATCH] Branch b1_8_gate b=17770 i=Elena Gryaznova avoid using quota_usr/quota_2usr groups --- lustre/tests/sanity-quota.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 1.8.3.1