diff lib/Test/Nginx.pm @ 1133:9edf2f99c58f

Tests: fixed has() check for sub filter tests. Previously, this clashed with "subversion" as appeared in the "built by" string.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 20 Feb 2017 17:01:46 +0300
parents cca0bff99733
children cf14cfe9ec8c
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -120,6 +120,7 @@ sub has_module($) {
 		auth_request
 			=> '--with-http_auth_request_module',
 		realip	=> '--with-http_realip_module',
+		sub	=> '--with-http_sub_module',
 		charset	=> '(?s)^(?!.*--without-http_charset_module)',
 		gzip	=> '(?s)^(?!.*--without-http_gzip_module)',
 		ssi	=> '(?s)^(?!.*--without-http_ssi_module)',