public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [tests/selinux] main: kernel/selinux-testsuite: bump upstream ref to b2f894f0016b
Date: Fri, 23 Oct 2026 07:31:09 GMT [thread overview]
Message-ID: <179274066948.1.10473743256428039248.tests-selinux-133b2bdff3cb@fedoraproject.org> (raw)
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 \
reply other threads:[~2026-10-23 7:31 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=179274066948.1.10473743256428039248.tests-selinux-133b2bdff3cb@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