mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/506: mount scratch fs before testing for prjquota presence
On XFS, the _require_prjquota helper takes a path to a block device, but (unintuitively) requires the block device to be mounted for the detection to work properly. Fix the detection code in generic/506. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
2405d4bc0b
commit
d67b78bd9e
@@ -51,7 +51,9 @@ _require_scratch_shutdown
|
||||
|
||||
_scratch_mkfs >/dev/null 2>&1
|
||||
_require_metadata_journaling $SCRATCH_DEV
|
||||
_scratch_mount
|
||||
_require_prjquota $SCRATCH_DEV
|
||||
_scratch_unmount
|
||||
|
||||
testfile=$SCRATCH_MNT/testfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user