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>
cp -p $testdir/original $testdir/copy3
echo "Check filesystem"
-_check_xfs_filesystem $SCRATCH_DEV none $rtdev
+_check_scratch_fs
# success, all done
status=0
done
echo "Check filesystem"
-_check_xfs_filesystem $SCRATCH_DEV none $rtdev
+_check_scratch_fs
losetup -d $rtdev
rm -f $TEST_DIR/$seq.rtvol