diff options
Diffstat (limited to 'test/recipes')
-rwxr-xr-x | test/recipes/70-test_sslcertstatus.t | 4 | ||||
-rwxr-xr-x | test/recipes/70-test_sslextension.t | 4 | ||||
-rwxr-xr-x | test/recipes/70-test_sslsessiontick.t | 4 | ||||
-rwxr-xr-x | test/recipes/70-test_sslskewith0p.t | 4 | ||||
-rwxr-xr-x | test/recipes/70-test_sslvertol.t | 4 | ||||
-rw-r--r-- | test/recipes/70-test_tlsextms.t | 4 |
6 files changed, 6 insertions, 18 deletions
diff --git a/test/recipes/70-test_sslcertstatus.t b/test/recipes/70-test_sslcertstatus.t index 65a5ec1f22..f7c6363cbb 100755 --- a/test/recipes/70-test_sslcertstatus.t +++ b/test/recipes/70-test_sslcertstatus.t @@ -67,9 +67,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); $ENV{OPENSSL_ENGINES} = top_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslextension.t b/test/recipes/70-test_sslextension.t index 29cff45ee0..31632a717a 100755 --- a/test/recipes/70-test_sslextension.t +++ b/test/recipes/70-test_sslextension.t @@ -67,9 +67,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); $ENV{OPENSSL_ENGINES} = top_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslsessiontick.t b/test/recipes/70-test_sslsessiontick.t index 84fc4df7fd..84ab66199d 100755 --- a/test/recipes/70-test_sslsessiontick.t +++ b/test/recipes/70-test_sslsessiontick.t @@ -68,9 +68,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); $ENV{OPENSSL_ENGINES} = top_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_sslskewith0p.t b/test/recipes/70-test_sslskewith0p.t index c31ea0ddfd..39c0409427 100755 --- a/test/recipes/70-test_sslskewith0p.t +++ b/test/recipes/70-test_sslskewith0p.t @@ -67,9 +67,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); 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 d626763575..c711d86fb5 100755 --- a/test/recipes/70-test_sslvertol.t +++ b/test/recipes/70-test_sslvertol.t @@ -67,9 +67,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); $ENV{OPENSSL_ENGINES} = top_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; diff --git a/test/recipes/70-test_tlsextms.t b/test/recipes/70-test_tlsextms.t index b6ff47e840..a861064ee1 100644 --- a/test/recipes/70-test_tlsextms.t +++ b/test/recipes/70-test_tlsextms.t @@ -68,9 +68,7 @@ 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne ""; + if config("no_shared"); $ENV{OPENSSL_ENGINES} = top_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; |