From: Richard Levitte Date: Fri, 19 Feb 2016 21:13:11 +0000 (+0100) Subject: Run the TLSProxy based tests as long as dynamic engines are built. X-Git-Tag: OpenSSL_1_1_0-pre4~576 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dd400bd435b3be3240b6d509a9a6737a642c37c;p=thirdparty%2Fopenssl.git Run the TLSProxy based tests as long as dynamic engines are built. They depend on this feature because they use the engine ossltest, which is only available as a dynamic engine. Reviewed-by: Rich Salz --- diff --git a/test/recipes/70-test_sslcertstatus.t b/test/recipes/70-test_sslcertstatus.t index 303de5e5663..9987e79b209 100755 --- a/test/recipes/70-test_sslcertstatus.t +++ b/test/recipes/70-test_sslcertstatus.t @@ -63,11 +63,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslextension.t b/test/recipes/70-test_sslextension.t index c253f748e0d..6ad41303241 100755 --- a/test/recipes/70-test_sslextension.t +++ b/test/recipes/70-test_sslextension.t @@ -63,11 +63,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslsessiontick.t b/test/recipes/70-test_sslsessiontick.t index 4e9c85f82fc..cd6e483aa77 100755 --- a/test/recipes/70-test_sslsessiontick.t +++ b/test/recipes/70-test_sslsessiontick.t @@ -64,11 +64,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslskewith0p.t b/test/recipes/70-test_sslskewith0p.t index fac1e8d1482..eaf37b61b4f 100755 --- a/test/recipes/70-test_sslskewith0p.t +++ b/test/recipes/70-test_sslskewith0p.t @@ -63,11 +63,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); plan skip_all => "dh is not supported by this OpenSSL build" if disabled("dh"); diff --git a/test/recipes/70-test_sslvertol.t b/test/recipes/70-test_sslvertol.t index e014d3f02d8..f89bc87c266 100755 --- a/test/recipes/70-test_sslvertol.t +++ b/test/recipes/70-test_sslvertol.t @@ -63,11 +63,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_tlsextms.t b/test/recipes/70-test_tlsextms.t index 022b3a8d6c5..27b5347feb8 100644 --- a/test/recipes/70-test_tlsextms.t +++ b/test/recipes/70-test_tlsextms.t @@ -64,11 +64,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/90-test_networking.t b/test/recipes/90-test_networking.t index cf3b43aa501..5297be0d074 100644 --- a/test/recipes/90-test_networking.t +++ b/test/recipes/90-test_networking.t @@ -63,11 +63,8 @@ setup($test_name); plan skip_all => "TLSProxy isn't usable on $^O" if $^O =~ /^VMS$/; -plan skip_all => "$test_name needs the engine feature enabled" - if disabled("engine"); - -plan skip_all => "$test_name can only be performed with OpenSSL configured shared" - if disabled("shared"); +plan skip_all => "$test_name needs the dynamic engine feature enabled" + if disabled("engine") || disabled("dynamic_engines"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000';