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:
@@ -61,10 +61,8 @@ _do_die_on_error=y
|
||||
test=$SCRATCH_MNT/test
|
||||
|
||||
# make filesystem on scratch using the defaults
|
||||
_do 'make filesystem on $SCRATCH_DEV' \
|
||||
'mkfs_xfs $SCRATCH_DEV'
|
||||
_do 'mount filesytem' \
|
||||
'mount -t xfs $SCRATCH_DEV $SCRATCH_MNT'
|
||||
_do 'make filesystem on $SCRATCH_DEV' '_scratch_mkfs_xfs'
|
||||
_do 'mount filesytem' '_scratch_mount'
|
||||
|
||||
# create test files and set acls
|
||||
acls="
|
||||
@@ -98,8 +96,8 @@ list_acls()
|
||||
echo "acls before repair:"
|
||||
list_acls
|
||||
_do 'unmount $SCRATCH_DEV' 'umount $SCRATCH_DEV'
|
||||
_do 'repair filesystem' 'xfs_repair $SCRATCH_DEV'
|
||||
_do 'mount filesytem' 'mount -t xfs $SCRATCH_DEV $SCRATCH_MNT'
|
||||
_do 'repair filesystem' '_scratch_xfs_repair'
|
||||
_do 'mount filesytem' '_scratch_mount'
|
||||
echo "acls after repair: "
|
||||
list_acls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user