]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test: reduce the scope of pkcs11-provider external test
authorOndrej Moris <omoris@redhat.com>
Wed, 16 Apr 2025 16:03:35 +0000 (18:03 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 20 May 2025 19:29:14 +0000 (21:29 +0200)
To ease maintenance and improve reliability of pkcs11-provider
external test we only want it to run with kryoptic token.

Signed-off-by: Ondrej Moris <omoris@redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27602)

test/README-external.md
test/recipes/95-test_external_pkcs11_provider_data/pkcs11-provider.sh

index d094c66f8254a22af35c37b594fb9f812140f89a..a98c6976c8952e2b05a80209d660667982fa3e3a 100644 (file)
@@ -132,8 +132,7 @@ Then configure/build OpenSSL enabling external tests:
     $ make
 
 pkcs11-provider requires meson for the build process. Moreover, it requires
-softhsm and nss softokn tokens and certtool, certutil, pkcs11-tool and expect
-to run the tests.
+kryoptic, opensc and expect to run the tests.
 
 Tests will then be run as part of the rest of the suite, or can be
 explicitly run (with more debugging):
index de09b46a0f533920f913f3d24c49a17f5c0fc5db..88d3440280061b595fab80a8a6ec961241a380a7 100755 (executable)
@@ -64,7 +64,8 @@ echo "Running tests"
 echo "------------------------------------------------------------------"
 
 # The OpenSSL app uses ${HARNESS_OSSL_PREFIX} as a prefix for its standard output
-HARNESS_OSSL_PREFIX= meson test -C $PKCS11_PROVIDER_BUILDDIR
+# For maintenance reasons and simplicity we only run test with kryoptic token
+HARNESS_OSSL_PREFIX= meson test -C $PKCS11_PROVIDER_BUILDDIR --suite=kryoptic
 
 if [ $? -ne 0 ]; then
     cat $PKCS11_PROVIDER_BUILDDIR/meson-logs/testlog.txt