[PATCH] fstests: skip btrfs/253 for zoned devices

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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@xxxxxxx>
---
 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




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux