From 4723f4f9aba03b3aa3caaecb4b68727a4380c03c Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 3 Sep 2024 11:34:14 -0700 Subject: [PATCH] Disable format-version-forward-back test on el9+. Using t_skip, we just skip this test on el9. If we ever want to add a formatversion 2->3 test, perhaps we should just add a separate test script, instead of going over a static array. But let's not worry about this too much right now. Signed-off-by: Auke Kok --- tests/tests/format-version-forward-back.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tests/format-version-forward-back.sh b/tests/tests/format-version-forward-back.sh index 403d0aaf..404660b5 100644 --- a/tests/tests/format-version-forward-back.sh +++ b/tests/tests/format-version-forward-back.sh @@ -11,6 +11,11 @@ # format version. # +# not supported on el9! +if [ $(source /etc/os-release ; echo ${VERSION_ID:0:1}) -gt 8 ]; then + t_skip "Unsupported OS version" +fi + mount_has_format_version() { local mnt="$1"