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 the checksum option is mentioned in help/manpages
Date: Fri, 11 Sep 2026 13:19:32 GMT [thread overview]
Message-ID: <178913277262.1.4274958312654951211.tests-selinux-edffc3122c72@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : edffc3122c7242827f2d65b07465b013d57eae42
Author : Milos Malik <mmalik@redhat.com>
Date : 2022-01-12T12:01:43+00:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/edffc3122c7242827f2d65b07465b013d57eae42?branch=pr775-checkpolicy-revdeps
Log:
test if the checksum option is mentioned in help/manpages
The test phase checks if the newly added checksum option is listed
in the help message and in the semodule man page.
---
diff --git a/policycoreutils/semodule-l-checksum/runtest.sh b/policycoreutils/semodule-l-checksum/runtest.sh
index eabd453..e5b5813 100755
--- a/policycoreutils/semodule-l-checksum/runtest.sh
+++ b/policycoreutils/semodule-l-checksum/runtest.sh
@@ -70,6 +70,13 @@ EOF"
rlAssertEquals "Is the loaded module checksum same as the file checksum? " ${module[3]} ${sha256[0]}
rlPhaseEnd
+ rlPhaseStartTest "is the checksum option listed?"
+ rlRun "man semodule | col -b | grep checksum"
+ rlRun "man semodule | col -b | grep 'SHA256.*checksum'"
+ rlRun "semodule --help | grep checksum"
+ rlRun "semodule --help | grep 'checksum.*SHA256'"
+ rlPhaseEnd
+
rlPhaseStartCleanup
rlRun "semodule -X 500 -r test_module"
rlRun "popd"
reply other threads:[~2026-09-11 13:19 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=178913277262.1.4274958312654951211.tests-selinux-edffc3122c72@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