From: Matt Caswell Date: Wed, 3 Apr 2019 08:44:41 +0000 (+0100) Subject: Skip the correct number of tests if SM2 is disabled X-Git-Tag: openssl-3.0.0-alpha1~2232 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fd3a904636aa45401c40e8b86ebacd5135fea2f1;p=oweals%2Fopenssl.git Skip the correct number of tests if SM2 is disabled Fixes no-sm2 (and also no-sm3 and no-ec) Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/8650) --- diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t index e493947861..96bfd03e2c 100644 --- a/test/recipes/25-test_verify.t +++ b/test/recipes/25-test_verify.t @@ -375,7 +375,7 @@ SKIP: { } SKIP: { - skip "SM2 is not supported by this OpenSSL build", 1 + skip "SM2 is not supported by this OpenSSL build", 2 if disabled("sm2"); # Test '-sm2-id' and '-sm2-hex-id' option