public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fstests: skip btrfs/253 for zoned devices
@ 2022-11-28 12:29 Johannes Thumshirn
  2022-11-28 16:02 ` Josef Bacik
  2022-12-20  9:19 ` Johannes Thumshirn
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Thumshirn @ 2022-11-28 12:29 UTC (permalink / raw)
  To: Zorro Lang; +Cc: Johannes Thumshirn, linux-btrfs, fstests

The test-case btrfs/253 tests btrfs' chunk size setting, which is not
available on zoned btrfs, so the test will always fail.

Skip the test in case of a zoned device.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
 tests/btrfs/253 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/btrfs/253 b/tests/btrfs/253
index fbbb81fae754..99eaee1e7cde 100755
--- a/tests/btrfs/253
+++ b/tests/btrfs/253
@@ -81,6 +81,7 @@ alloc_size() {
 _supported_fs btrfs
 _require_test
 _require_scratch
+_require_non_zoned_device "${SCRATCH_DEV}"
 
 # Delete log file if it exists.
 rm -f "${seqres}.full"
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-20 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-28 12:29 [PATCH] fstests: skip btrfs/253 for zoned devices Johannes Thumshirn
2022-11-28 16:02 ` Josef Bacik
2022-12-20  9:19 ` Johannes Thumshirn
2022-12-20 10:13   ` Zorro Lang
2022-12-20 14:48     ` Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox