diff options
author | Neal H. Walfield <neal@walfield.org> | 2022-11-10 08:39:20 +0100 |
---|---|---|
committer | Michal Domonkos <mdomonko@redhat.com> | 2023-03-13 15:32:25 +0100 |
commit | 0cd3640edc5a4ee6c0e32705ad68db6fcd94d495 (patch) | |
tree | 8c35df7f924e3dfd03aa65c216988e2907607648 | |
parent | 3caf55b397c431537cd18f884e57005efdd2d455 (diff) | |
download | rpm-0cd3640edc5a4ee6c0e32705ad68db6fcd94d495.tar.gz |
Fix rpmkeys type confusion test.
The `rpmkeys type confusion` test was added in ec13083f46a1e to check
that the internal OpenPGP parser rejects a certificate with an invalid
component. The Sequoia backend happily accepts the certificate and
ignores the invalid component, which causes the test to fail. Mark
the test as specific to the internal OpenPGP backend.
Fixes #2272.
(cherry picked from commit db1c9da7fe507b7eb0424bf9c76b6cf37094ed36)
-rw-r--r-- | tests/rpmsigdig.at | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at index 17cec56ff..a9238d9b7 100644 --- a/tests/rpmsigdig.at +++ b/tests/rpmsigdig.at @@ -426,7 +426,11 @@ gpg(a72b7d4f62837bea) = 4:a72b7d4f62837bea-62553e62 []) AT_CLEANUP +# The internal OpenPGP parser rejects the key. The Sequoia parser +# just ignores the invalid components and imports the rest. This test +# checks the behavior of the internal parser. AT_SETUP([rpmkeys type confusion]) +AT_SKIP_IF([test x$PGP != xinternal]) AT_CHECK([ RPMDB_INIT |