From 5dc1663bef68cdf7ea3355004e2e65b43da6773e Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 12 Nov 2024 12:59:32 +0100 Subject: [PATCH] Test reading openpgpg backend with sq Related: #3341 --- tests/rpmsigdig.at | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at index aa5eb95957..0a915c34e6 100644 --- a/tests/rpmsigdig.at +++ b/tests/rpmsigdig.at @@ -281,6 +281,14 @@ runroot rpmkeys -Kv /data/RPMS/hello-2.0-1.x86_64-signed-with-new-subkey.rpm ], []) +RPMTEST_CHECK([[ +runroot_other sq --cert-store=/usr/lib/sysimage/rpm/pubkeys pki list --gossip 2>&1 | grep -e "^[[:xdigit:]]\{40\}" +]], +[0], +[771B18D3D7BAA28734333C424344591E1964C5FC +], +[]) + RPMTEST_CHECK([ runroot_other touch /usr/lib/sysimage/rpm/pubkeys/writelock runroot_other flock -x /usr/lib/sysimage/rpm/pubkeys/writelock -c "rpmkeys --import /data/keys/rpm.org-rsa-2048-add-subkey.asc"