mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/506: fix regression on freshly quotachecked filesystem
The first thing this test checks is that the health command reports that nothing has been checked. This isn't true if we regenerated the quota counts when we mounted the filesystem (and hence they're marked healthy and checked), so cycle the mount to get rid of that state. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
c188f26b2b
commit
f7a8c5c4ad
@@ -36,6 +36,7 @@ rm -f $seqres.full
|
||||
|
||||
_scratch_mkfs > $seqres.full 2>&1
|
||||
_scratch_mount
|
||||
_scratch_cycle_mount # make sure we haven't run quotacheck on this mount
|
||||
|
||||
# Haven't checked anything, it should tell us to run scrub
|
||||
$XFS_SPACEMAN_PROG -c "health" $SCRATCH_MNT
|
||||
|
||||
Reference in New Issue
Block a user