]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Re-enable enginepkcs11 system test
authorTom Krizek <tkrizek@isc.org>
Mon, 26 Feb 2024 17:08:23 +0000 (18:08 +0100)
committerTom Krizek <tkrizek@isc.org>
Thu, 21 Mar 2024 15:25:00 +0000 (16:25 +0100)
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.

bin/tests/system/enginepkcs11/prereq.sh

index 449d9f2058da84129cb0ef32041214a9aeb1910d..4eb2788a6216643fc34b9f8230a483d20d9491bb 100644 (file)
@@ -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
 }