public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] main: kernel/selinux-testsuite: bump upstream ref to b2f894f0016b
@ 2026-10-23  7:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-23  7:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : main
            Commit : 133b2bdff3cb8e1778e5e91745f68c5299ac7a1e
            Author : Ondrej Mosnáček <omosnacek@gmail.com>
            Date   : 2026-10-20T15:00:32+02:00
            Stats  : +3/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/133b2bdff3cb8e1778e5e91745f68c5299ac7a1e?branch=main

            Log:
            kernel/selinux-testsuite: bump upstream ref to b2f894f0016b

Only one workaround is needed for RHEL-7 where the compiler emits a
weird warning - just remove -Werror from CFLAGS there.

Verified that this change passes across different Fedora/RHEL versions
using test_matrix.py.

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

---
diff --git a/kernel/selinux-testsuite/runtest.sh b/kernel/selinux-testsuite/runtest.sh
index 1f3fbd2..3449cac 100755
--- a/kernel/selinux-testsuite/runtest.sh
+++ b/kernel/selinux-testsuite/runtest.sh
@@ -35,7 +35,7 @@ PACKAGE="selinux-policy"
 # This should be updated as needed after verifying that the new version
 # doesn't break testing and after applying all necessary tweaks in the TC.
 # Run with GIT_BRANCH=master to run the latest upstream version.
-DEFAULT_COMMIT="d03e89292da66e638d795c06840037d27131d82c"
+DEFAULT_COMMIT="b2f894f0016b3ad6a991811bf8e69a4aa4bce4d1"
 # Default pull requests to merge before running the test.
 # If non-empty, then after checking out GIT_BRANCH the listed upstream pull
 # requests (by number) are merged, creating a new temporary local branch.
@@ -328,6 +328,8 @@ rlJournalStart
                 "Fix up kernel version in nnp test"
         done
         if rlIsRHELLike "<8"; then
+            rlRun "sed -i 's|-Werror||' tests/Makefile" 0 \
+                "Disable -Werror to workaround compiler bugs"
             rlRun "sed -i 's|\$basedir/test_validate|true|' tests/file_contexts/test" 0 \
                 "Disable test for a known libselinux issue"
             rlRun "sed -i 's|sub test_68_7_ctx {|sub test_68_7_ctx { ok(1); return;|' tests/overlay/test" 0 \

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23  7:31 [tests/selinux] main: kernel/selinux-testsuite: bump upstream ref to b2f894f0016b 

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