mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/521,530: refactor scratch fs check
Use the existing _check_scratch_fs helper to check the (modified) scratch filesystem in these tests. 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
d57433fc99
commit
4e9ffa1316
+1
-1
@@ -75,7 +75,7 @@ echo "Create more copies to make sure the bitmap really works"
|
||||
cp -p $testdir/original $testdir/copy3
|
||||
|
||||
echo "Check filesystem"
|
||||
_check_xfs_filesystem $SCRATCH_DEV none $rtdev
|
||||
_check_scratch_fs
|
||||
|
||||
# success, all done
|
||||
status=0
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ for rtino in rbmino rsumino; do
|
||||
done
|
||||
|
||||
echo "Check filesystem"
|
||||
_check_xfs_filesystem $SCRATCH_DEV none $rtdev
|
||||
_check_scratch_fs
|
||||
|
||||
losetup -d $rtdev
|
||||
rm -f $TEST_DIR/$seq.rtvol
|
||||
|
||||
Reference in New Issue
Block a user