Mercurial > hg > nginx-tests
comparison autoindex.t @ 320:3da39688c14b
Tests: added missing charset prerequisite.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 29 Jul 2013 20:37:49 +0400 |
parents | 6a0d934950bc |
children | d9cfff372a30 |
comparison
equal
deleted
inserted
replaced
319:e9de4da234c0 | 320:3da39688c14b |
---|---|
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32'; | 24 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32'; |
25 | 25 |
26 my $t = Test::Nginx->new()->has(qw/http autoindex/)->plan(16) | 26 my $t = Test::Nginx->new()->has(qw/http autoindex charset/)->plan(16) |
27 ->write_file_expand('nginx.conf', <<'EOF'); | 27 ->write_file_expand('nginx.conf', <<'EOF'); |
28 | 28 |
29 %%TEST_GLOBALS%% | 29 %%TEST_GLOBALS%% |
30 | 30 |
31 daemon off; | 31 daemon off; |