diff lib/Test/Nginx.pm @ 560:f3434de79a7f

Tests: upstream zone tests with ssl backend.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 23 Apr 2015 14:01:22 +0300
parents 05cbe9e2def8
children 5c3946ebd867
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -124,6 +124,8 @@ sub has_module($) {
 			=> '(?s)^(?!.*--without-http_upstream_least_conn_mod)',
 		upstream_keepalive
 			=> '(?s)^(?!.*--without-http_upstream_keepalive_modu)',
+		upstream_zone
+			=> '(?s)^(?!.*--without-http_upstream_zone_module)',
 		http	=> '(?s)^(?!.*--without-http(?!\S))',
 		cache	=> '(?s)^(?!.*--without-http-cache)',
 		pop3	=> '(?s)^(?!.*--without-mail_pop3_module)',
@@ -135,6 +137,8 @@ sub has_module($) {
 		stream	=> '--with-stream(?!\S)',
 		stream_upstream_least_conn
 			=> '(?s)^(?!.*--without-stream_upstream_least_conn_m)',
+		stream_upstream_zone
+			=> '(?s)^(?!.*--without-stream_upstream_zone_module)',
 	);
 
 	my $re = $regex{$feature};