Mercurial > hg > nginx-tests
comparison ssi.t @ 106:7a712d3909ba
Tests: add cache availability checks.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 13 Oct 2009 05:16:45 +0400 |
parents | bb5b5e69b45e |
children | 1c0ec30614c6 |
comparison
equal
deleted
inserted
replaced
105:bb5b5e69b45e | 106:7a712d3909ba |
---|---|
19 ############################################################################### | 19 ############################################################################### |
20 | 20 |
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 my $t = Test::Nginx->new()->plan(16); | 24 my $t = Test::Nginx->new()->has('cache')->plan(16); |
25 | 25 |
26 $t->write_file_expand('nginx.conf', <<'EOF'); | 26 $t->write_file_expand('nginx.conf', <<'EOF'); |
27 | 27 |
28 master_process off; | 28 master_process off; |
29 daemon off; | 29 daemon off; |