comparison proxy_ssl_keepalive.t @ 1857:da3889ba0b96

Tests: removed unneeded require from proxy_ssl_keepalive.t.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 18 May 2023 18:07:01 +0300
parents dbce8fb5f5f8
children
comparison
equal deleted inserted replaced
1856:ce4a06d72256 1857:da3889ba0b96
19 19
20 ############################################################################### 20 ###############################################################################
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24
25 eval { require IO::Socket::SSL; };
26 plan(skip_all => 'IO::Socket::SSL not installed') if $@;
27 24
28 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy upstream_keepalive/) 25 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy upstream_keepalive/)
29 ->has_daemon('openssl')->plan(3) 26 ->has_daemon('openssl')->plan(3)
30 ->write_file_expand('nginx.conf', <<'EOF'); 27 ->write_file_expand('nginx.conf', <<'EOF');
31 28