public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: test if sepolicy manpage can generate all man pages
Date: Fri, 11 Sep 2026 13:20:24 GMT [thread overview]
Message-ID: <178913282452.1.6607422672142819412.tests-selinux-afff1ecfd46a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : afff1ecfd46ae535a44a9037e8c6707b2e9e8b6c
Author : Milos Malik <mmalik@redhat.com>
Date : 2023-01-17T15:27:53+01:00
Stats : +12/-1 in 2 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/afff1ecfd46ae535a44a9037e8c6707b2e9e8b6c?branch=pr775-checkpolicy-revdeps
Log:
test if sepolicy manpage can generate all man pages
A new test phase was added. Purpose of the test phase is to find
out whether the `sepolicy manpage` command can generate man pages
for all SELinux domains without triggering an error or traceback.
The TC covers BZ#1416372.
---
diff --git a/policycoreutils/sepolicy-manpage/main.fmf b/policycoreutils/sepolicy-manpage/main.fmf
index eae4499..380ea44 100644
--- a/policycoreutils/sepolicy-manpage/main.fmf
+++ b/policycoreutils/sepolicy-manpage/main.fmf
@@ -6,14 +6,16 @@ component:
framework: beakerlib
recommend:
- /usr/bin/sepolicy
-duration: 10m
+duration: 20m
enabled: true
tier: 3
link:
+ - verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1416372
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1854639
- verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1989840
adjust:
- enabled: false
when: distro == rhel-4, rhel-5, rhel-6
because: the sepolicy command is not available there
+extra-nitrate: TC#0614751
diff --git a/policycoreutils/sepolicy-manpage/runtest.sh b/policycoreutils/sepolicy-manpage/runtest.sh
index 32c12a3..e6c1006 100755
--- a/policycoreutils/sepolicy-manpage/runtest.sh
+++ b/policycoreutils/sepolicy-manpage/runtest.sh
@@ -7,6 +7,15 @@ rlJournalStart
rlRun "rpm -qa | grep policycoreutils"
rlPhaseEnd
+ rlPhaseStartTest "bz#1416372"
+ rlRun -s "sepolicy manpage -a"
+ rlRun "grep -i -e invalid -e error -e traceback ${rlRun_LOG}" 1
+ rm -f ${rlRun_LOG}
+ rlRun -s "sepolicy manpage -d crond_t"
+ rlRun "grep -i -e invalid -e error -e traceback ${rlRun_LOG}" 1
+ rm -f ${rlRun_LOG}
+ rlPhaseEnd
+
rlPhaseStartTest "sepolicy manpage --web, bz#1854639 + bz#1989840"
rlRun "sepolicy manpage --web -d zebra_t"
if rlIsRHEL 7 8 ; then
reply other threads:[~2026-09-11 13:20 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=178913282452.1.6607422672142819412.tests-selinux-afff1ecfd46a@fedoraproject.org \
--to=mmalik@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