From f7a8c5c4ad1e9fc67c09f9f7ea2144ba51209783 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 13 Apr 2021 18:04:36 -0700 Subject: [PATCH] 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- tests/xfs/506 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/xfs/506 b/tests/xfs/506 index ddda8614..7e553849 100755 --- a/tests/xfs/506 +++ b/tests/xfs/506 @@ -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 -- 2.30.2