Check for pkcs11-tool in keyfromlabel system test

pkcs11-tool which is typically part of the opensc package is required
for the keyfromlabel test.
This commit is contained in:
Tom Krizek
2022-09-23 15:25:31 +02:00
parent 9730ac4c56
commit e9d9f11539

View File

@@ -13,9 +13,9 @@
. ../conf.sh
if [ -n "${SOFTHSM2_MODULE}" ] && command -v softhsm2-util >/dev/null; then
if [ -n "${SOFTHSM2_MODULE}" ] && command -v pkcs11-tool >/dev/null && command -v softhsm2-util >/dev/null; then
exit 0
fi
echo_i "skip: softhsm2-util not available"
echo_i "skip: softhsm2-util or pkcs11-tool not available"
exit 255