mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Numerous changes to QA scripts allowing tests to run with external log/rt devices; also allow multiple mkfs/mount options at once now.
This commit is contained in:
@@ -75,7 +75,7 @@ inohard=10
|
||||
# The actual point at which limit enforcement takes place for the
|
||||
# hard block limit is variable depending on filesystem blocksize,
|
||||
# and iosize. What we want to test is that the limit is enforced
|
||||
# (ie. blksize less than limit but not unduly less - ~85% is kind,
|
||||
# (ie. blksize less than limit but not unduly less - ~85% is kind)
|
||||
# nowadays we actually get much closer to the limit before EDQUOT.
|
||||
#
|
||||
_filter_and_check_blocks()
|
||||
@@ -94,7 +94,7 @@ _filter_and_check_blocks()
|
||||
}
|
||||
|
||||
# real QA test starts here
|
||||
mkfs_xfs $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs
|
||||
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
|
||||
cat $tmp.mkfs >>$seq.full
|
||||
|
||||
# keep the blocksize and data size for dd later
|
||||
@@ -149,7 +149,7 @@ _qmount
|
||||
repquota -$type $SCRATCH_DEV | _filter_repquota 7
|
||||
|
||||
echo
|
||||
echo "*** push past the hard inode limit (expect EDQUOT)" | tee -a $seq.full
|
||||
echo "*** push past the hard inode limit (EDQUOT if enfd)" | tee -a $seq.full
|
||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12
|
||||
do
|
||||
_file_as_id $SCRATCH_MNT/hard$i $id $type 1024 0
|
||||
@@ -158,7 +158,7 @@ _qmount
|
||||
repquota -$type $SCRATCH_DEV | _filter_repquota 7
|
||||
|
||||
echo
|
||||
echo "*** push past the hard block limit (expect EDQUOT)" | tee -a $seq.full
|
||||
echo "*** push past the hard block limit (EDQUOT is enfd)" | tee -a $seq.full
|
||||
_file_as_id $SCRATCH_MNT/softie $id $type 1024 540
|
||||
_qmount
|
||||
repquota -$type $SCRATCH_DEV | _filter_and_check_blocks 7
|
||||
|
||||
Reference in New Issue
Block a user