From 2151aae2e0382bd8843cc22fc726b3ffc7fb4426 Mon Sep 17 00:00:00 2001 From: Johannes Thumshirn Date: Tue, 10 Jan 2023 07:52:16 -0800 Subject: [PATCH] btrfs/012: check if ext4 is available btrfs/012 is requiring ext4 support to test the conversion, but the test case is only checking if mkfs.ext4 is available, not if the filesystem driver is actually available on the test host. Check if the driver is available as well, before trying to run the test. Signed-off-by: Johannes Thumshirn Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- tests/btrfs/012 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/btrfs/012 b/tests/btrfs/012 index 60461a34..d9faf81c 100755 --- a/tests/btrfs/012 +++ b/tests/btrfs/012 @@ -31,6 +31,7 @@ _require_command "$E2FSCK_PROG" e2fsck # ext4 does not support zoned block device _require_non_zoned_device "${SCRATCH_DEV}" _require_loop +_require_extra_fs ext4 BLOCK_SIZE=`_get_block_size $TEST_DIR` -- 2.39.5