public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Petr Lautrbach <lautrbach@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: sestatus has been moved to /usr/bin on modern systems
Date: Fri, 11 Sep 2026 13:22:17 GMT	[thread overview]
Message-ID: <178913293753.1.8211853321825364315.tests-selinux-512ac533f6d3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 512ac533f6d3b255359448fcd3a763683a60865c
            Author : Petr Lautrbach <lautrbach@redhat.com>
            Date   : 2025-01-22T15:18:19+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/512ac533f6d3b255359448fcd3a763683a60865c?branch=pr775-checkpolicy-revdeps

            Log:
            sestatus has been moved to /usr/bin on modern systems

https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Fixes:
    [   FAIL   ] :: Command 'rpm -ql policycoreutils | grep /usr/sbin/sestatus' (Expected 0, got 1)

---
diff --git a/policycoreutils/sestatus/runtest.sh b/policycoreutils/sestatus/runtest.sh
index c8c73d2..ebc56b2 100755
--- a/policycoreutils/sestatus/runtest.sh
+++ b/policycoreutils/sestatus/runtest.sh
@@ -94,7 +94,7 @@ rlJournalStart
     # This bug is not worth fixing in RHEL-5
     if ! rlIsRHEL 5 ; then
     rlPhaseStartTest
-        rlRun "rpm -ql ${PACKAGE} | grep /usr/sbin/sestatus"
+        rlRun "rpm -ql ${PACKAGE} | grep -E '/usr/s?bin/sestatus'"
         rlRun "rpm -ql ${PACKAGE} | grep /usr/share/man/man8/sestatus.8"
         for OPTION in b v ; do
             rlRun "sestatus --help 2>&1 | grep -- -${OPTION}"

                 reply	other threads:[~2026-09-11 13:22 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=178913293753.1.8211853321825364315.tests-selinux-512ac533f6d3@fedoraproject.org \
    --to=lautrbach@redhat.com \
    --cc=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