Mercurial > hg > nginx-tests
comparison ssi.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 | c0ae29632905 |
children | ba992cfdc606 |
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 => 'win32') if $^O eq 'MSWin32'; | |
23 | 25 |
24 my $t = Test::Nginx->new()->has(qw/http ssi cache proxy rewrite/)->plan(18); | 26 my $t = Test::Nginx->new()->has(qw/http ssi cache proxy rewrite/)->plan(18); |
25 | 27 |
26 $t->write_file_expand('nginx.conf', <<'EOF'); | 28 $t->write_file_expand('nginx.conf', <<'EOF'); |
27 | 29 |