comparison grpc_ssl.t @ 1378:ba7e2e60f8b6

Tests: fixed grpc_ssl.t prerequisites.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 20 Sep 2018 14:59:36 +0300
parents 92ba8ef8d6b2
children 97c8280de681
comparison
equal deleted inserted replaced
1377:09c2291b2bab 1378:ba7e2e60f8b6
22 22
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/http rewrite http_v2 grpc/) 26 my $t = Test::Nginx->new()->has(qw/http rewrite http_v2 grpc/)
27 ->has(qw/upstream_keepalive http_ssl/); 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');