Mercurial > hg > nginx-tests
comparison stream_proxy_ssl_conf_command.t @ 1692:f6795e2e6a4b
Tests: skip ssl_conf_command tests on too old OpenSSL explicitly.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:15 +0300 |
parents | f3ba4c74de31 |
children | 5ac6efbe5552 |
comparison
equal
deleted
inserted
replaced
1691:0d8531f744bc | 1692:f6795e2e6a4b |
---|---|
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 my $t = Test::Nginx->new()->has(qw/stream stream_ssl stream_return/) | 26 my $t = Test::Nginx->new()->has(qw/stream stream_ssl stream_return/) |
27 ->has_daemon('openssl'); | 27 ->has_daemon('openssl'); |
28 | |
29 $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; | |
30 plan(skip_all => 'OpenSSL too old') unless defined $1 and $1 ge '1.0.2'; | |
28 | 31 |
29 $t->write_file_expand('nginx.conf', <<'EOF'); | 32 $t->write_file_expand('nginx.conf', <<'EOF'); |
30 | 33 |
31 %%TEST_GLOBALS%% | 34 %%TEST_GLOBALS%% |
32 | 35 |