Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rpmkeys --list in test cases #3434

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/rpmsigdig.at
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,15 @@ runroot rpmkeys -Kv /data/RPMS/hello-2.0-1.x86_64-signed-with-new-subkey.rpm
[])

RPMTEST_CHECK([
# XXX rpmkeys --list doesn't yet work with fs keystore
runroot_other find /usr/lib/sysimage/rpm/pubkeys -name "*.key" | wc -l
runroot rpmkeys --list | wc -l
runroot rpmkeys --import /data/keys/rpm.org-rsa-2048-add-subkey.asc
runroot rpmkeys --list | wc -l
runroot_other find /usr/lib/sysimage/rpm/pubkeys -name "*.key" | wc -l
],
[0],
[1
1
1
],
[])

Expand Down Expand Up @@ -243,8 +244,7 @@ runroot rpmkeys --delete 1964c5fc
[])

RPMTEST_CHECK([
# XXX rpmkeys --list doesn't yet work with fs keystore
runroot_other find /usr/lib/sysimage/rpm/pubkeys -name "*.key" | wc -l
runroot rpmkeys --list | wc -l
],
[0],
[0
Expand Down
Loading