From 13db25fbe92e06b45368374e03cc26bfa82ec9fb Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Fri, 27 Sep 2019 13:06:25 +0300 Subject: [PATCH] ssl-opt.sh: Fix requires_config_value_exactly Fix comparison bug in requires_config_value_exactly. --- tests/ssl-opt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 8136326fd..a39ca3ecd 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -210,7 +210,7 @@ requires_config_value_exactly() { # Should never happen echo "Mbed TLS configuration $1 is not defined" exit 1 - elif [ "$VAL" -eq "$2" ]; then + elif [ "$VAL" -ne "$2" ]; then SKIP_NEXT="YES" fi }