mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:02:05 -04:00
Only run pkcs11engine test if pkcs11-provider is available
The bullseye and bookworm images are not set up with pkcs11-provider, so we need to add an additional prerequisite for running the pkcs11engine test. Check the path of OPENSSL_CONF.
This commit is contained in:
parent
62e7cc66d0
commit
2e9fd6d0c1
2 changed files with 6 additions and 1 deletions
|
|
@ -946,7 +946,7 @@ gcc:ossl3:sid:amd64:
|
|||
<<: *build_job
|
||||
|
||||
system:gcc:ossl3:sid:amd64:
|
||||
# Set up environment variables to run pkcs11-provider system tests
|
||||
# Set up environment variables to run pkcs11-provider based system tests
|
||||
variables:
|
||||
OPENSSL_CONF: "/var/tmp/etc/openssl-provider.cnf"
|
||||
SOFTHSM2_CONF: "/var/tmp/softhsm2/softhsm2.conf"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@
|
|||
|
||||
. ../conf.sh
|
||||
|
||||
[ "prereq/var/tmp/etc/openssl-provider.cnf" -eq "prereq${OPENSSL_CONF}" ] || {
|
||||
echo_i "skip: pkcs11-provider not enabled"
|
||||
exit 255
|
||||
}
|
||||
|
||||
[ -n "${SOFTHSM2_CONF}" ] || {
|
||||
echo_i "skip: softhsm2 configuration not available"
|
||||
exit 255
|
||||
|
|
|
|||
Loading…
Reference in a new issue