From 4e9ffa1316859b67b575258ed23d49f82302e3fb Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 13 Apr 2021 18:04:48 -0700 Subject: [PATCH] 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 Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- tests/xfs/521 | 2 +- tests/xfs/530 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xfs/521 b/tests/xfs/521 index e6c417b8..b8026d45 100755 --- a/tests/xfs/521 +++ b/tests/xfs/521 @@ -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 diff --git a/tests/xfs/530 b/tests/xfs/530 index 65c17af2..0e4dd6b5 100755 --- a/tests/xfs/530 +++ b/tests/xfs/530 @@ -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 -- 2.30.2