]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/recipes/70-test_sslskewith0p.t
Skip the TLSProxy tests if environmental problems are an issue
[thirdparty/openssl.git] / test / recipes / 70-test_sslskewith0p.t
index ca8dfe768190476c2275252764517bedd8f85ae4..bfdee8b739c9412c6030b07d036119d32e183a22 100755 (executable)
@@ -37,13 +37,12 @@ my $proxy = TLSProxy::Proxy->new(
     (!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
 );
 
-plan tests => 1;
-
 #We must use an anon DHE cipher for this test
 $proxy->cipherc('ADH-AES128-SHA:@SECLEVEL=0');
 $proxy->ciphers('ADH-AES128-SHA:@SECLEVEL=0');
 
-$proxy->start();
+$proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
+plan tests => 1;
 ok(TLSProxy::Message->fail, "ServerKeyExchange with 0 p");
 
 sub ske_0_p_filter