Mercurial > hg > nginx-tests
comparison proxy_cache_lock.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 | 4ac0807cc3cf |
children | 1a5574d84917 |
comparison
equal
deleted
inserted
replaced
222:5b7883daaf82 | 223:f9325406df0b |
---|---|
19 | 19 |
20 ############################################################################### | 20 ############################################################################### |
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | |
25 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | |
24 | 26 |
25 my $t = Test::Nginx->new()->has(qw/http proxy cache/) | 27 my $t = Test::Nginx->new()->has(qw/http proxy cache/) |
26 ->write_file_expand('nginx.conf', <<'EOF'); | 28 ->write_file_expand('nginx.conf', <<'EOF'); |
27 | 29 |
28 %%TEST_GLOBALS%% | 30 %%TEST_GLOBALS%% |