Fix test 067 when non-default mkfs options are in use

This commit is contained in:
fsgqa
2003-07-29 21:32:23 +00:00
parent 26290f238c
commit 127990335e
+9 -5
View File
@@ -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 ==="