Mercurial > hg > nginx-tests
comparison grpc_ssl.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | ba7e2e60f8b6 |
children | 01d806268a12 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
27 ->has(qw/upstream_keepalive http_ssl/)->has_daemon('openssl'); | 27 ->has(qw/upstream_keepalive http_ssl/)->has_daemon('openssl'); |
28 | 28 |
29 $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; | 29 $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; |
30 plan(skip_all => 'OpenSSL too old') unless defined $1 and $1 ge '1.0.2'; | 30 plan(skip_all => 'OpenSSL too old') unless defined $1 and $1 ge '1.0.2'; |
31 | 31 |
32 $t->write_file_expand('nginx.conf', <<'EOF'); | 32 $t->write_file_expand('nginx.conf', <<'EOF')->plan(33); |
33 | 33 |
34 %%TEST_GLOBALS%% | 34 %%TEST_GLOBALS%% |
35 | 35 |
36 daemon off; | 36 daemon off; |
37 | 37 |
133 | 133 |
134 sleep 1 if $^O eq 'MSWin32'; | 134 sleep 1 if $^O eq 'MSWin32'; |
135 | 135 |
136 $t->write_file('password', 'client'); | 136 $t->write_file('password', 'client'); |
137 | 137 |
138 $t->try_run('no grpc')->plan(33); | 138 $t->run(); |
139 | 139 |
140 ############################################################################### | 140 ############################################################################### |
141 | 141 |
142 my $p = port(8082); | 142 my $p = port(8082); |
143 my $f = grpc(); | 143 my $f = grpc(); |