From: Nathan Scott Date: Thu, 29 Mar 2001 06:25:45 +0000 (+0000) Subject: do qa testing on the new quota userspace. X-Git-Tag: v1.1.0~1289 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=05980740c05cf87c92b24e841db6551e334e9421;hp=fc6653abdd34b1dc58fba783a8aff79dc30d9f53 do qa testing on the new quota userspace. --- diff --git a/common.quota b/common.quota index 205ada15..98a77d39 100644 --- a/common.quota +++ b/common.quota @@ -42,9 +42,9 @@ _require_quota() src/feature -q $TEST_DEV [ $? -ne 0 ] && _notrun "Installed kernel does not support XFS quota" - [ ! -x /usr/sbin/repquota ] && _notrun "Quota user tools not installed" + [ ! -x /sbin/quotaon ] && _notrun "Quota user tools not installed" - /usr/sbin/repquota -m -s -a >/dev/null 2>&1 + /sbin/quotaon -x 2>&1 | grep "option requires an argument -- x" >/dev/null [ $? -ne 0 ] && _notrun "Installed quota tools do not support XFS" } diff --git a/tools/auto-qa b/tools/auto-qa index 89796d0d..6d16ba89 100755 --- a/tools/auto-qa +++ b/tools/auto-qa @@ -317,11 +317,6 @@ do || _fail " !!! clean $pkg failed" done - _log " *** clean quota tools" - cd $WORKAREA/cmd/quota - ( rm -f configure ; autoconf ; sh configure ; make clean ) 2>&1 \ - || _fail " !!! clean quota failed" - _log " *** clean linux" cd $WORKAREA/linux make mrproper 2>&1 \ @@ -382,17 +377,6 @@ do || _fail " !!! install $pkg failed" done - _log " *** build and install quota tools" - cd $WORKAREA/cmd/quota - rm -f configure - - # use e-fence - but this will only take effect on configure - export MALLOCLIB=/usr/lib/libefence.a - ( autoconf ; sh configure --prefix=/usr; make all ) 2>&1 \ - || _fail " !!! build quota failed" - _sudo make install 2>&1 \ - || _fail " !!! install quota failed" - new_state="install" ;;