public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Amith Kumar <apeetham@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: sepolicy : Add fix for bug 1854639
Date: Fri, 11 Sep 2026 13:18:06 GMT [thread overview]
Message-ID: <178913268683.1.11037434477975085318.tests-selinux-56a35b10fd0c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 56a35b10fd0cdfa69942370fdf381ede70c68ecf
Author : Amith Kumar <apeetham@redhat.com>
Date : 2020-08-12T15:12:35+00:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/56a35b10fd0cdfa69942370fdf381ede70c68ecf?branch=pr775-checkpolicy-revdeps
Log:
sepolicy : Add fix for bug 1854639
The testcase verifies HTML page generated by "sepolicy manpage"
and ensures links to generated man page exists.
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1854639
Signed-off-by: Amith Kumar <apeetham@redhat.com>
---
diff --git a/policycoreutils/sepolicy-generate/runtest.sh b/policycoreutils/sepolicy-generate/runtest.sh
index 5da10b8..e318ecc 100755
--- a/policycoreutils/sepolicy-generate/runtest.sh
+++ b/policycoreutils/sepolicy-generate/runtest.sh
@@ -107,6 +107,13 @@ rlJournalStart
rlRun "rm -rf mypolicy"
rlPhaseEnd
+ rlPhaseStartTest "sepolicy manpage --web, bz1854639"
+ rlRun "sepolicy manpage --web -d zebra_t"
+ rlRun "ls /tmp/*release*" 0 "Html file with OS name exists."
+ rlRun "cat /tmp/*release* > /tmp/testfile"
+ rlAssertGrep "href=zebra.html" "/tmp/testfile"
+ rlPhaseEnd
+
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
reply other threads:[~2026-09-11 13:18 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=178913268683.1.11037434477975085318.tests-selinux-56a35b10fd0c@fedoraproject.org \
--to=apeetham@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