public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: sepolicy : Add fix for bug 1854639
@ 2026-09-11 13:18 Amith Kumar
0 siblings, 0 replies; only message in thread
From: Amith Kumar @ 2026-09-11 13:18 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:18 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:18 [tests/selinux] pr775-checkpolicy-revdeps: sepolicy : Add fix for bug 1854639 Amith Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox