From 51f483166e803344b214813c0221bdd832454494 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Fri, 29 Nov 2024 11:18:57 +0100 Subject: [PATCH] Test rpm -e gpg-pubkey --- tests/rpmsigdig.at | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at index 0b92c929d1..c0bcced292 100644 --- a/tests/rpmsigdig.at +++ b/tests/rpmsigdig.at @@ -122,6 +122,15 @@ runroot rpmkeys --list [0], [], []) + +runroot rpmkeys --import /data/keys/rpm.org-rsa-2048-test.pub +RPMTEST_CHECK([ +runroot rpm -e gpg-pubkey-771b18d3d7baa28734333c424344591e1964c5fc +runroot rpm -qa gpg-pubkey +], +[0], +[], +[]) RPMTEST_CLEANUP AT_SETUP([rpmkeys migrate from keyid to fingerprint (rpmdb)])