details: http://freenginx.org/hg/nginx-tests/rev/3ba1668cea87 branches: changeset: 1969:3ba1668cea87 user: Maxim Dounin <mdou...@mdounin.ru> date: Mon May 06 00:03:01 2024 +0300 description: 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. diffstat: stream_ssl_alpn.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): 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); ############################################################################### -- nginx-devel mailing list nginx-devel@freenginx.org https://freenginx.org/mailman/listinfo/nginx-devel