diff mbox series

[5/5] shared/032: add check for zoned block device

Message ID 20210521045825.1720305-6-naohiro.aota@wdc.com (mailing list archive)
State New, archived
Headers show
Series fstests: add checks for testing zoned btrfs | expand

Commit Message

Naohiro Aota May 21, 2021, 4:58 a.m. UTC
Mkfs on zoned block device won't work on most filesystem. Let's
disable the test.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
---
 tests/shared/032 | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tests/shared/032 b/tests/shared/032
index 360087ee1fb9..31ac52303dde 100755
--- a/tests/shared/032
+++ b/tests/shared/032
@@ -25,6 +25,8 @@  _supported_fs xfs btrfs
 
 _require_scratch_nocheck
 _require_no_large_scratch_dev
+# not all the FS support zoned block device
+_require_non_zoned_device "${SCRATCH_DEV}"
 
 # mkfs.btrfs did not have overwrite detection at first
 if [ "$FSTYP" == "btrfs" ]; then