diff mbox series

[12/13] xfs/049: skip on zoned devices

Message ID 20250321072145.1675257-13-hch@lst.de (mailing list archive)
State New
Headers show
Series [01/13] xfs/177: force a small file system size | expand

Commit Message

Christoph Hellwig March 21, 2025, 7:21 a.m. UTC
This tes creates an ext2 file system, which doesn't support zoned
devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/xfs/049 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Darrick J. Wong March 21, 2025, 3:21 p.m. UTC | #1
On Fri, Mar 21, 2025 at 08:21:41AM +0100, Christoph Hellwig wrote:
> This tes creates an ext2 file system, which doesn't support zoned
> devices.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks ok,
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  tests/xfs/049 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/xfs/049 b/tests/xfs/049
> index cdcddf76498c..07feb58c9ad6 100755
> --- a/tests/xfs/049
> +++ b/tests/xfs/049
> @@ -40,6 +40,8 @@ _require_scratch_nocheck
>  _require_no_large_scratch_dev
>  _require_loop
>  _require_extra_fs ext2
> +# this test actually runs ext2 on the scratch device
> +_require_non_zoned_device $SCRATCH_DEV
>  
>  echo "(dev=$SCRATCH_DEV, mount=$SCRATCH_MNT)" >> $seqres.full
>  echo "" >> $seqres.full
> -- 
> 2.45.2
> 
>
diff mbox series

Patch

diff --git a/tests/xfs/049 b/tests/xfs/049
index cdcddf76498c..07feb58c9ad6 100755
--- a/tests/xfs/049
+++ b/tests/xfs/049
@@ -40,6 +40,8 @@  _require_scratch_nocheck
 _require_no_large_scratch_dev
 _require_loop
 _require_extra_fs ext2
+# this test actually runs ext2 on the scratch device
+_require_non_zoned_device $SCRATCH_DEV
 
 echo "(dev=$SCRATCH_DEV, mount=$SCRATCH_MNT)" >> $seqres.full
 echo "" >> $seqres.full