btrfs-progs: tests: request minimum kernel version for misc-tests/034-metadata-uuid

The CI environment has kernel 4.15, the test fails because of the
missing functionality. Skip it.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-07-04 01:36:47 +02:00
parent 3a1e12abdc
commit 8dbcf826ca

View File

@ -10,6 +10,10 @@ check_prereq btrfs-image
setup_root_helper setup_root_helper
prepare_test_dev prepare_test_dev
if ! check_min_kernel_version 5.0; then
_not_run "kernel too old, METADATA_UUID support needed"
fi
read_fsid() { read_fsid() {
local dev="$1" local dev="$1"