public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Do not check if "%{_sbindir}" rpm macro is used
@ 2026-09-11 13:21 Zdenek Pytela
0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 2026-09-11 13:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 7615b2d8c7807082e072b57399df9e0f5eb5798a
Author : Zdenek Pytela <zpytela@redhat.com>
Date : 2024-09-11T16:27:13+00:00
Stats : +0/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/7615b2d8c7807082e072b57399df9e0f5eb5798a?branch=pr775-checkpolicy-revdeps
Log:
Do not check if "%{_sbindir}" rpm macro is used
With Changes/Unify_bin_and_sbin [1] in process, policy sources
stopped to refer to executables with full path using the "%{_bindir}"
and "%{_sbindir}" rpm macros.
[1] https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
---
diff --git a/selinux-policy/policy-rpm-macros/runtest.sh b/selinux-policy/policy-rpm-macros/runtest.sh
index 58aa091..7be30c1 100755
--- a/selinux-policy/policy-rpm-macros/runtest.sh
+++ b/selinux-policy/policy-rpm-macros/runtest.sh
@@ -47,7 +47,6 @@ rlJournalStart
rlPhaseStartTest "bz#1415694"
rlRun "grep selinuxenabled ${MACRO_FILE}"
- rlRun "grep selinuxenabled ${MACRO_FILE} | grep _sbindir"
rlRun "grep selinuxenabled ${MACRO_FILE} | grep /usr/sbin/" 1
rlPhaseEnd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:21 [tests/selinux] pr775-checkpolicy-revdeps: Do not check if "%{_sbindir}" rpm macro is used Zdenek Pytela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox