public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [tests/selinux] main: kernel/selinux-testsuite: disable BTRFS tests on RHEL-10+
Date: Fri, 16 Oct 2026 08:23:36 GMT	[thread overview]
Message-ID: <179213901644.1.7093052392976892512.tests-selinux-85c73da1097d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : main
            Commit : 85c73da1097da6f3cdcbebd10bcef4344a863df0
            Author : Ondrej Mosnáček <omosnacek@gmail.com>
            Date   : 2026-10-16T09:21:34+02:00
            Stats  : +8/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/85c73da1097da6f3cdcbebd10bcef4344a863df0?branch=main

            Log:
            kernel/selinux-testsuite: disable BTRFS tests on RHEL-10+

On RHEL-10 we can end up in a situation (CKI) where the BTRFS kernel
module is available, but the btrfs-tools package is not. Disable BTRFS
tests on RHEL-10+ entirely until it is properly supported.

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>

---
diff --git a/kernel/selinux-testsuite/runtest.sh b/kernel/selinux-testsuite/runtest.sh
index f0da440..1f3fbd2 100755
--- a/kernel/selinux-testsuite/runtest.sh
+++ b/kernel/selinux-testsuite/runtest.sh
@@ -367,6 +367,14 @@ rlJournalStart
             rlRun "sed -i 's/ token_test_common.c//g' tests/bpf/Makefile" 0 \
                 "Disable BPF token tests (no support in libbpf)"
         fi
+        if rlIsRHELLike ">=10"; then
+            # FIXME on RHEL-10 the BTRFS kernel module can be installed
+            # from kernel-modules-internal, but btrfs-progs is probably
+            # only in buildroot - just disable the BTRFS tests entirely
+            # on RHEL-10+ for now
+            exclude_tests+=" filesystem/btrfs fs_filesystem/btrfs"
+        fi
+
 
         rlRun "sed -i 's/tm\.tv_sec = [0-9]*;/tm.tv_sec = $NETWORK_TIMEOUT;/' ./tests/*/*.c" 0 \
             "Tweak timeout in networking tests" # 2 secs is too little for SCTP test

                 reply	other threads:[~2026-10-16  8:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179213901644.1.7093052392976892512.tests-selinux-85c73da1097d@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox