# HG changeset patch # User Maxim Dounin # Date 1714942981 -10800 # Node ID 3ba1668cea87d87b1966b3481cf204cb4134fe7d # Parent b72a8c4a1bef38349eb20662e521a7d330f388f9 Tests: adjusted stream_ssl_alpn.t to handle old SSL libraries. The "ssl_alpn" directive of the stream module requires an SSL library with ALPN support, and startup fails if the directive is used in the configuration but ALPN support is not available (notably, with OpenSSL before 1.0.2). Restored try_run() to skip the test in this case. diff --git a/stream_ssl_alpn.t b/stream_ssl_alpn.t --- a/stream_ssl_alpn.t +++ b/stream_ssl_alpn.t @@ -71,7 +71,7 @@ foreach my $name ('localhost') { or die "Can't create certificate for $name: $!\n"; } -$t->run()->plan(6); +$t->try_run('no ssl_alpn')->plan(6); ###############################################################################