Mercurial > hg > nginx-tests
changeset 914:3ac4036b139d
Tests: fixed proxy prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 22 Apr 2016 16:22:00 +0300 |
parents | dba252c2afd6 |
children | 1ffb16747167 |
files | charset_gzip_static.t gunzip_static.t h2_cache.t ssl_engine_keys.t |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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%%
--- 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');
--- 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%%
--- 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');