Disable the policy tree exponential growth test conditionally
authorPauli <pauli@openssl.org>
Wed, 22 Mar 2023 01:13:07 +0000 (12:13 +1100)
committerPauli <pauli@openssl.org>
Thu, 23 Mar 2023 09:10:11 +0000 (20:10 +1100)
If there is no EC specified, the test won't pass.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20572)

(cherry picked from commit f5935fcf8e4bc2191ac4a32e5b7ec32817642f1e)

test/recipes/80-test_policy_tree.t

index 606ad05e9c4c39669af074dedb6ddc10183e1c57..1ddd65e8979767f10f462c1660479e92f0e60195 100644 (file)
@@ -18,6 +18,8 @@ use OpenSSL::Glob;
 
 setup("test_policy_tree");
 
+plan skip_all => "No EC support" if disabled("ec");
+
 plan tests => 2;
 
 # The small pathological tree is expected to work