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,16 +75,16 @@ _check_root_inos()
|
||||
_require_scratch
|
||||
|
||||
# devzero blows away 512byte blocks, so make 512byte inodes (at least)
|
||||
mkfs_xfs $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs
|
||||
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
|
||||
source $tmp.mkfs
|
||||
[ $isize -lt 512 ] && \
|
||||
mkfs_xfs -isize=512 $SCRATCH_DEV | _filter_mkfs >/dev/null 2>&1
|
||||
_scratch_mkfs_xfs -isize=512 | _filter_mkfs >/dev/null 2>&1
|
||||
|
||||
`xfs_db -r -c sb -c p $SCRATCH_DEV | grep 'ino = ' | \
|
||||
sed -e 's/ //g' -e 's/^/export /'`
|
||||
|
||||
# check we won't get any quota inodes setup on mount
|
||||
mount -t xfs $SCRATCH_DEV $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
src/feature -U $SCRATCH_DEV && \
|
||||
_notrun "Quota are enabled, test needs controlled sb recovery"
|
||||
src/feature -G $SCRATCH_DEV && \
|
||||
|
||||
Reference in New Issue
Block a user