From 8dbcf826ca13fe7afe47401331ff2ccf782b0be9 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 4 Jul 2019 01:36:47 +0200 Subject: [PATCH] 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 --- tests/misc-tests/034-metadata-uuid/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/misc-tests/034-metadata-uuid/test.sh b/tests/misc-tests/034-metadata-uuid/test.sh index a99c14ff..3ef110cd 100755 --- a/tests/misc-tests/034-metadata-uuid/test.sh +++ b/tests/misc-tests/034-metadata-uuid/test.sh @@ -10,6 +10,10 @@ check_prereq btrfs-image setup_root_helper prepare_test_dev +if ! check_min_kernel_version 5.0; then + _not_run "kernel too old, METADATA_UUID support needed" +fi + read_fsid() { local dev="$1"