Skip to content

Commit 76f93cd

Browse files
committed
Tests: skip stream_ssl_alpn.t on OpenSSL < 1.0.2.
1 parent 3ea9649 commit 76f93cd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

stream_ssl_alpn.t

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ select STDOUT; $| = 1;
2525

2626
my $t = Test::Nginx->new()
2727
->has(qw/stream stream_ssl stream_return socket_ssl_alpn/)
28-
->has_daemon('openssl')
29-
->write_file_expand('nginx.conf', <<'EOF');
28+
->has_daemon('openssl');
29+
30+
plan(skip_all => 'no ALPN support in OpenSSL')
31+
if $t->has_module('OpenSSL') and not $t->has_feature('openssl:1.0.2');
32+
33+
$t->write_file_expand('nginx.conf', <<'EOF');
3034
3135
%%TEST_GLOBALS%%
3236

0 commit comments

Comments
 (0)