Mercurial > hg > nginx-tests
diff fastcgi_header_params.t @ 221:8d2c6358d830
Tests: avoid using FCGI on win32.
The FCGI.pm under Windows refuses to listen on 127.0.0.1 and insists on
listening on INADDR_ANY. We don't want to.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 02 Jun 2012 22:58:09 +0400 |
parents | c0ae29632905 |
children | a01a53bcbf11 |
line wrap: on
line diff
--- a/fastcgi_header_params.t +++ b/fastcgi_header_params.t @@ -23,6 +23,7 @@ select STDOUT; $| = 1; eval { require FCGI; }; plan(skip_all => 'FCGI not installed') if $@; +plan(skip_all => 'win32') if $^O eq 'MSWin32'; my $t = Test::Nginx->new()->has(qw/http fastcgi/)->plan(1) ->write_file_expand('nginx.conf', <<'EOF');