Mercurial > hg > nginx-tests
comparison autoindex.t @ 223:f9325406df0b
Tests: skip tests not appropriate for win32.
Skip tests which doesn't work on win32, notably ones using crypt(),
symlinks and shared memory.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 03 Jun 2012 05:20:39 +0400 |
parents | b5352cabdadb |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
222:5b7883daaf82 | 223:f9325406df0b |
---|---|
18 | 18 |
19 ############################################################################### | 19 ############################################################################### |
20 | 20 |
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | |
24 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32'; | |
23 | 25 |
24 my $t = Test::Nginx->new()->has(qw/http autoindex/)->plan(16) | 26 my $t = Test::Nginx->new()->has(qw/http autoindex/)->plan(16) |
25 ->write_file_expand('nginx.conf', <<'EOF'); | 27 ->write_file_expand('nginx.conf', <<'EOF'); |
26 | 28 |
27 %%TEST_GLOBALS%% | 29 %%TEST_GLOBALS%% |