]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/012: check if ext4 is available
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 10 Jan 2023 15:52:16 +0000 (07:52 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 14 Jan 2023 13:43:24 +0000 (21:43 +0800)
commit2151aae2e0382bd8843cc22fc726b3ffc7fb4426
tree6269844d2d32200040a6954394ef7a6c9e6573d3
parentb2188973c251871a0d3f02c6620fef909885b31a
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 <johannes.thumshirn@wdc.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/012