From: Tom Krizek Date: Mon, 26 Feb 2024 17:08:23 +0000 (+0100) Subject: Re-enable enginepkcs11 system test X-Git-Tag: v9.19.23~15^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3712a219cb5095e13efdac19cd80e33f5b46355b;p=thirdparty%2Fbind9.git Re-enable enginepkcs11 system test The condition in prereq.sh which attempts to match two string uses integer equality operation. This results in an error, causing the enginepkcs11 test to always be skipped. Use = operator for the string comparison instead. --- diff --git a/bin/tests/system/enginepkcs11/prereq.sh b/bin/tests/system/enginepkcs11/prereq.sh index 449d9f2058d..4eb2788a621 100644 --- a/bin/tests/system/enginepkcs11/prereq.sh +++ b/bin/tests/system/enginepkcs11/prereq.sh @@ -13,7 +13,7 @@ . ../conf.sh -[ "prereq/var/tmp/etc/openssl-provider.cnf" -eq "prereq${OPENSSL_CONF}" ] || { +[ "prereq/var/tmp/etc/openssl-provider.cnf" = "prereq${OPENSSL_CONF}" ] || { echo_i "skip: pkcs11-provider not enabled" exit 255 }