mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: 311: fsck the dmflakey device instead of the real device
xfs was having issues with generic/311 because of caching issues. Make _check_scratch_fs take an optional argument to use as the device to fsck. Signed-off-by: Josef Bacik <jbacik@fusionio.com> Acked-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Rich Johnston <rjohnston@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
1bd086437f
commit
a8c25f0702
Executable → Regular
+1
-1
@@ -125,7 +125,7 @@ _run_test()
|
||||
|
||||
#Unmount and fsck to make sure we got a valid fs after replay
|
||||
_unmount_flakey
|
||||
_check_scratch_fs
|
||||
_check_scratch_fs $FLAKEY_DEV
|
||||
[ $? -ne 0 ] && _fatal "fsck failed"
|
||||
|
||||
_mount_flakey
|
||||
|
||||
Reference in New Issue
Block a user