# HG changeset patch # User Sergey Kandaurov # Date 1461331320 -10800 # Node ID 3ac4036b139d7d51cf085dda26254d6b5dfc895f # Parent dba252c2afd6a5123d6ae101d92117b89ea89e4d Tests: fixed proxy prerequisites. diff -r dba252c2afd6 -r 3ac4036b139d charset_gzip_static.t --- a/charset_gzip_static.t Fri Apr 22 15:40:21 2016 +0300 +++ b/charset_gzip_static.t Fri Apr 22 16:22:00 2016 +0300 @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http charset gzip_static/)->plan(13) +my $t = Test::Nginx->new()->has(qw/http proxy charset gzip_static/)->plan(13) ->write_file_expand('nginx.conf', <<'EOF')->run(); %%TEST_GLOBALS%% diff -r dba252c2afd6 -r 3ac4036b139d gunzip_static.t --- a/gunzip_static.t Fri Apr 22 15:40:21 2016 +0300 +++ b/gunzip_static.t Fri Apr 22 16:22:00 2016 +0300 @@ -25,7 +25,7 @@ eval { require IO::Compress::Gzip; }; plan(skip_all => "IO::Compress::Gzip not found") if $@; -my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/); +my $t = Test::Nginx->new()->has(qw/http gunzip gzip_static rewrite/); $t->write_file_expand('nginx.conf', <<'EOF'); diff -r dba252c2afd6 -r 3ac4036b139d h2_cache.t --- a/h2_cache.t Fri Apr 22 15:40:21 2016 +0300 +++ b/h2_cache.t Fri Apr 22 16:22:00 2016 +0300 @@ -23,7 +23,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http http_v2 cache/)->plan(11) +my $t = Test::Nginx->new()->has(qw/http http_v2 proxy cache/)->plan(11) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% diff -r dba252c2afd6 -r 3ac4036b139d ssl_engine_keys.t --- a/ssl_engine_keys.t Fri Apr 22 15:40:21 2016 +0300 +++ b/ssl_engine_keys.t Fri Apr 22 16:22:00 2016 +0300 @@ -27,7 +27,7 @@ plan(skip_all => 'may not work, leaves coredump') unless $ENV{TEST_NGINX_UNSAFE}; -my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl') +my $t = Test::Nginx->new()->has(qw/http proxy http_ssl/)->has_daemon('openssl') ->has_daemon('softhsm')->has_daemon('pkcs11-tool')->plan(1); $t->write_file_expand('nginx.conf', <<'EOF');