Hi, > 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 <johannes.thumshirn@xxxxxxx> > --- > tests/btrfs/012 | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/btrfs/012 b/tests/btrfs/012 > index 60461a342545..86fbbb7ac189 100755 > --- a/tests/btrfs/012 > +++ b/tests/btrfs/012 > @@ -32,6 +32,8 @@ _require_command "$E2FSCK_PROG" e2fsck > _require_non_zoned_device "${SCRATCH_DEV}" > _require_loop > > +grep -q ext4 /proc/filesystems || _notrun "no ext4 support" when ext4 is module, and is not used, 'ext4' will not be in /proc/filesystems. so we need a right way to check ext4 support. Best Regards Wang Yugui (wangyugui@xxxxxxxxxxxx) 2023/01/10