Mercurial > hg > nginx-tests
comparison fastcgi_merge_params2.t @ 580:fa71c725d40a
Tests: added missing shmem prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 18 May 2015 20:37:19 +0300 |
parents | 071e8941e3bf |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
579:6d1b945c9c60 | 580:fa71c725d40a |
---|---|
23 | 23 |
24 eval { require FCGI; }; | 24 eval { require FCGI; }; |
25 plan(skip_all => 'FCGI not installed') if $@; | 25 plan(skip_all => 'FCGI not installed') if $@; |
26 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 26 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
27 | 27 |
28 my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(4) | 28 my $t = Test::Nginx->new()->has(qw/http fastcgi cache shmem/)->plan(4) |
29 ->write_file_expand('nginx.conf', <<'EOF'); | 29 ->write_file_expand('nginx.conf', <<'EOF'); |
30 | 30 |
31 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
32 | 32 |
33 daemon off; | 33 daemon off; |