mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fix test 067 when non-default mkfs options are in use
This commit is contained in:
@@ -52,19 +52,23 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
. ./common.attr
|
||||
|
||||
# real QA test starts here
|
||||
|
||||
|
||||
#
|
||||
_need_to_be_root
|
||||
_acl_requirements
|
||||
_require_scratch
|
||||
|
||||
# set up fs for 1K inodes
|
||||
_scratch_mkfs_xfs -i size=1024 >>$here/$seq.full || _fail "mkfs failed"
|
||||
isize=0
|
||||
_scratch_mkfs_xfs | _filter_mkfs >$seq.full 2>$tmp.mkfs
|
||||
[ $? -eq 0 ] && source $tmp.mkfs
|
||||
if [ "$isize" -lt 1024 ]; then
|
||||
_scratch_mkfs_xfs -i size=1024 >>$here/$seq.full \
|
||||
|| _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"
|
||||
fi
|
||||
_scratch_mount >>$here/$seq.full || _fail "mount failed"
|
||||
xfs_info $SCRATCH_MNT >>$here/$seq.full
|
||||
cd $SCRATCH_MNT
|
||||
|
||||
# xfs_growfs -n $SCRATCH_MNT
|
||||
|
||||
echo ""
|
||||
echo "=== Test out large ACLs ==="
|
||||
|
||||
|
||||
Reference in New Issue
Block a user