[PATCH] Tests: fixed map prerequisite in tests

Maxim Dounin mdounin at mdounin.ru
Fri Jul 31 06:32:38 UTC 2026


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1785479542 -10800
#      Fri Jul 31 09:32:22 2026 +0300
# Node ID bccc315f1725de088bc2fcbebb38f27ba3a9a064
# Parent  2cbdf8a573d9d8ee60bfc8e3258674281e6b0232
Tests: fixed map prerequisite in tests.

diff --git a/grpc_headers.t b/grpc_headers.t
--- a/grpc_headers.t
+++ b/grpc_headers.t
@@ -23,7 +23,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()
-	->has(qw/http http_v2 grpc rewrite/)->plan(7)
+	->has(qw/http http_v2 grpc rewrite map/)->plan(7)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
diff --git a/rewrite.t b/rewrite.t
--- a/rewrite.t
+++ b/rewrite.t
@@ -21,7 +21,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http rewrite proxy/)->plan(27)
+my $t = Test::Nginx->new()->has(qw/http rewrite map proxy/)->plan(27)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%



More information about the nginx-devel mailing list