mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
_choose_id function has changed slightly, run setquota once user is inited.
This commit is contained in:
@@ -85,16 +85,16 @@ _qmount
|
||||
# setup exactly what it is we'll be testing
|
||||
if src/feature -u $SCRATCH_DEV
|
||||
then
|
||||
type=u ; id=`_choose_uid`; ln $seq.usrquota $seq.out
|
||||
type=u ; eval `_choose_uid`; ln $seq.usrquota $seq.out
|
||||
elif src/feature -g $SCRATCH_DEV
|
||||
then
|
||||
type=g ; id=`_choose_gid`; ln $seq.grpquota $seq.out
|
||||
type=g ; eval `_choose_gid`; ln $seq.grpquota $seq.out
|
||||
elif src/feature -U $SCRATCH_DEV
|
||||
then
|
||||
type=u ; id=`_choose_uid`; ln $seq.uqnoenforce $seq.out
|
||||
type=u ; eval `_choose_uid`; ln $seq.uqnoenforce $seq.out
|
||||
elif src/feature -G $SCRATCH_DEV
|
||||
then
|
||||
type=g ; id=`_choose_gid`; ln $seq.gqnoenforce $seq.out
|
||||
type=g ; eval `_choose_gid`; ln $seq.gqnoenforce $seq.out
|
||||
else
|
||||
_notrun "No quota support at mount time"
|
||||
fi
|
||||
@@ -108,8 +108,8 @@ repquota -$type $SCRATCH_DEV | _filter_repquota
|
||||
|
||||
echo
|
||||
echo "*** report initial settings" | tee -a $seq.full
|
||||
setquota -$type $id 100 500 4 10 $SCRATCH_DEV
|
||||
_file_as_id $SCRATCH_MNT/initme $id $type 1024 0
|
||||
setquota -$type $id 100 500 4 10 $SCRATCH_DEV
|
||||
repquota -$type $SCRATCH_DEV | _filter_repquota
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user