mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
do qa testing on the new quota userspace.
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user