From 3f22ed2fcf83a6306f4a06307278c779e49ba3df Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 17 Jan 2016 00:25:44 +0100 Subject: The TLSProxy tests can't run if no-engine has been configured Make sure they detect that. Reviewed-by: Viktor Dukhovni --- test/recipes/70-test_sslcertstatus.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/recipes/70-test_sslcertstatus.t') diff --git a/test/recipes/70-test_sslcertstatus.t b/test/recipes/70-test_sslcertstatus.t index 0be0ccbd62..65a5ec1f22 100755 --- a/test/recipes/70-test_sslcertstatus.t +++ b/test/recipes/70-test_sslcertstatus.t @@ -54,6 +54,7 @@ use strict; use OpenSSL::Test qw/:DEFAULT cmdstr top_file top_dir/; +use OpenSSL::Test::Utils; use TLSProxy::Proxy; my $test_name = "test_sslcertstatus"; @@ -62,6 +63,9 @@ 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=/ } -- cgit v1.2.3