Mercurial > hg > nginx-tests
comparison scgi_cache.t @ 580:fa71c725d40a
Tests: added missing shmem prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 18 May 2015 20:37:19 +0300 |
parents | 847ea345becb |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
579:6d1b945c9c60 | 580:fa71c725d40a |
---|---|
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 eval { require SCGI; }; | 25 eval { require SCGI; }; |
26 plan(skip_all => 'SCGI not installed') if $@; | 26 plan(skip_all => 'SCGI not installed') if $@; |
27 | 27 |
28 my $t = Test::Nginx->new()->has(qw/http scgi cache/)->plan(10) | 28 my $t = Test::Nginx->new()->has(qw/http scgi cache shmem/)->plan(10) |
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; |