[PATCH 6 of 6] Tests: added missing socket_ssl_reused prerequisites

Sergey Kandaurov pluknet at nginx.com
Mon May 22 19:52:18 UTC 2023


# HG changeset patch
# User Sergey Kandaurov <pluknet at nginx.com>
# Date 1684784712 -14400
#      Mon May 22 23:45:12 2023 +0400
# Node ID 193b129568708d6689c7cb8707f46bca7280a0d0
# Parent  633613b924b957fc18dde972ff346fe92b9e823e
Tests: added missing socket_ssl_reused prerequisites.

diff --git a/mail_ssl_session_reuse.t b/mail_ssl_session_reuse.t
--- a/mail_ssl_session_reuse.t
+++ b/mail_ssl_session_reuse.t
@@ -27,7 +27,7 @@ select STDOUT; $| = 1;
 local $SIG{PIPE} = 'IGNORE';
 
 my $t = Test::Nginx->new()->has(qw/mail mail_ssl imap socket_ssl_sslversion/)
-	->has_daemon('openssl')->plan(7);
+	->has(qw/socket_ssl_reused/)->has_daemon('openssl')->plan(7);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
diff --git a/stream_ssl_session_reuse.t b/stream_ssl_session_reuse.t
--- a/stream_ssl_session_reuse.t
+++ b/stream_ssl_session_reuse.t
@@ -27,7 +27,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()->has(qw/stream stream_ssl socket_ssl_sslversion/)
-	->has_daemon('openssl')->plan(7);
+	->has(qw/socket_ssl_reused/)->has_daemon('openssl')->plan(7);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 


More information about the nginx-devel mailing list