public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] main: kernel/selinux-testsuite: disable BTRFS tests on RHEL-10+
@ 2026-10-16  8:23 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-16  8:23 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-16  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16  8:23 [tests/selinux] main: kernel/selinux-testsuite: disable BTRFS tests on RHEL-10+ 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox