public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: semodule-l-checksum: checksum format changed
@ 2026-09-11 13:19 Petr Lautrbach
  0 siblings, 0 replies; only message in thread
From: Petr Lautrbach @ 2026-09-11 13:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : c6c5a1fbe6d09973a23275ea2c38f9baaa2afad1
            Author : Petr Lautrbach <plautrba@redhat.com>
            Date   : 2022-02-19T11:26:57+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/c6c5a1fbe6d09973a23275ea2c38f9baaa2afad1?branch=pr775-checkpolicy-revdeps

            Log:
            semodule-l-checksum: checksum format changed

In the latest update, the checksum format in `semodule -l --checksum`
changed from "$SHA256" to "sha256:$SHA256"

---
diff --git a/policycoreutils/semodule-l-checksum/runtest.sh b/policycoreutils/semodule-l-checksum/runtest.sh
index e5b5813..898a9c7 100755
--- a/policycoreutils/semodule-l-checksum/runtest.sh
+++ b/policycoreutils/semodule-l-checksum/runtest.sh
@@ -67,7 +67,7 @@ EOF"
         sha256=($(sha256sum test_module.cil))
         rlAssertEquals "Is the module name 'test_module'?" ${module[1]} "test_module"
         rlAssertEquals "Is the module priority '500'?" ${module[0]} "500"
-        rlAssertEquals "Is the loaded module checksum same as the file checksum? " ${module[3]} ${sha256[0]}
+        rlAssertEquals "Is the loaded module checksum same as the file checksum? " ${module[3]} "sha256:${sha256[0]}"
     rlPhaseEnd
 
     rlPhaseStartTest "is the checksum option listed?"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:19 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:19 [tests/selinux] pr775-checkpolicy-revdeps: semodule-l-checksum: checksum format changed Petr Lautrbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox