Mercurial > hg > nginx-tests
changeset 580:fa71c725d40a
Tests: added missing shmem prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 18 May 2015 20:37:19 +0300 |
parents | 6d1b945c9c60 |
children | 8593f34a12e5 |
files | auth_request.t fastcgi_cache.t fastcgi_merge_params.t fastcgi_merge_params2.t scgi_cache.t |
diffstat | 5 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/auth_request.t Mon May 18 13:30:56 2015 +0300 +++ b/auth_request.t Mon May 18 20:37:19 2015 +0300 @@ -25,6 +25,7 @@ my $t = Test::Nginx->new() ->has(qw/http rewrite proxy cache fastcgi auth_basic auth_request/) + ->has(qw/shmem/) ->plan(19); $t->write_file_expand('nginx.conf', <<'EOF');
--- a/fastcgi_cache.t Mon May 18 13:30:56 2015 +0300 +++ b/fastcgi_cache.t Mon May 18 20:37:19 2015 +0300 @@ -25,7 +25,7 @@ plan(skip_all => 'FCGI not installed') if $@; plan(skip_all => 'win32') if $^O eq 'MSWin32'; -my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(5) +my $t = Test::Nginx->new()->has(qw/http fastcgi cache shmem/)->plan(5) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%
--- a/fastcgi_merge_params.t Mon May 18 13:30:56 2015 +0300 +++ b/fastcgi_merge_params.t Mon May 18 20:37:19 2015 +0300 @@ -25,7 +25,7 @@ plan(skip_all => 'FCGI not installed') if $@; plan(skip_all => 'win32') if $^O eq 'MSWin32'; -my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(9) +my $t = Test::Nginx->new()->has(qw/http fastcgi cache shmem/)->plan(9) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%
--- a/fastcgi_merge_params2.t Mon May 18 13:30:56 2015 +0300 +++ b/fastcgi_merge_params2.t Mon May 18 20:37:19 2015 +0300 @@ -25,7 +25,7 @@ plan(skip_all => 'FCGI not installed') if $@; plan(skip_all => 'win32') if $^O eq 'MSWin32'; -my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(4) +my $t = Test::Nginx->new()->has(qw/http fastcgi cache shmem/)->plan(4) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%
--- a/scgi_cache.t Mon May 18 13:30:56 2015 +0300 +++ b/scgi_cache.t Mon May 18 20:37:19 2015 +0300 @@ -25,7 +25,7 @@ eval { require SCGI; }; plan(skip_all => 'SCGI not installed') if $@; -my $t = Test::Nginx->new()->has(qw/http scgi cache/)->plan(10) +my $t = Test::Nginx->new()->has(qw/http scgi cache shmem/)->plan(10) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%