From 920def7401f0cd68a2040409c134af3f3db7453b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 9 Feb 2016 11:16:05 +0100 Subject: [PATCH] Update 90-test-networking.t to do the same checks as other TLSProxy tests Reviewed-by: Andy Polyakov --- test/recipes/90-test_networking.t | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/recipes/90-test_networking.t b/test/recipes/90-test_networking.t index fb146dd12a..08160faf06 100644 --- a/test/recipes/90-test_networking.t +++ b/test/recipes/90-test_networking.t @@ -59,10 +59,14 @@ use TLSProxy::Proxy; my $test_name = "test_networking"; 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" - unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ } - grep { /^SHARED_LIBS=/ } - do { local @ARGV = ( bldtop_file("Makefile") ); <> })[0] ne ""; + if disabled("shared"); $ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); $ENV{OPENSSL_ia32cap} = '~0x200000200000000'; -- 2.25.1