mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Check filesystem after log replay and abort test if errors found
Merge of master-melb:xfs-cmds:29730a by kenmcd. Check filesystem after log replay and abort test if errors found
This commit is contained in:
@@ -57,6 +57,13 @@ src/godown $SCRATCH_MNT
|
||||
|
||||
umount $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
umount $SCRATCH_MNT
|
||||
if [ ! _check_scratch_fs ]
|
||||
then
|
||||
echo error detected in filesystem
|
||||
exit
|
||||
fi
|
||||
_scratch_mount
|
||||
|
||||
# check file size and contents
|
||||
i=1;
|
||||
|
||||
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
|
||||
|
||||
umount $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
umount $SCRATCH_MNT
|
||||
if [ ! _check_scratch_fs ]
|
||||
then
|
||||
echo error detected in filesystem
|
||||
exit
|
||||
fi
|
||||
_scratch_mount
|
||||
|
||||
# check file size and contents
|
||||
i=1;
|
||||
|
||||
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
|
||||
|
||||
umount $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
umount $SCRATCH_MNT
|
||||
if [ ! _check_scratch_fs ]
|
||||
then
|
||||
echo error detected in filesystem
|
||||
exit
|
||||
fi
|
||||
_scratch_mount
|
||||
|
||||
# check file size and contents
|
||||
i=1;
|
||||
|
||||
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
|
||||
|
||||
umount $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
umount $SCRATCH_MNT
|
||||
if [ ! _check_scratch_fs ]
|
||||
then
|
||||
echo error detected in filesystem
|
||||
exit
|
||||
fi
|
||||
_scratch_mount
|
||||
|
||||
# check file size and contents
|
||||
i=1;
|
||||
|
||||
@@ -85,6 +85,13 @@ done
|
||||
src/godown $SCRATCH_MNT
|
||||
umount $SCRATCH_MNT
|
||||
_scratch_mount
|
||||
umount $SCRATCH_MNT
|
||||
if [ ! _check_scratch_fs ]
|
||||
then
|
||||
echo error detected in filesystem
|
||||
exit
|
||||
fi
|
||||
_scratch_mount
|
||||
_check_files
|
||||
|
||||
status=0
|
||||
|
||||
Reference in New Issue
Block a user