comparison fastcgi_merge_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 101b092b67e2
children 6a0d934950bc
comparison
equal deleted inserted replaced
220:f6f60780f758 221:8d2c6358d830
21 select STDERR; $| = 1; 21 select STDERR; $| = 1;
22 select STDOUT; $| = 1; 22 select STDOUT; $| = 1;
23 23
24 eval { require FCGI; }; 24 eval { require FCGI; };
25 plan(skip_all => 'FCGI not installed') if $@; 25 plan(skip_all => 'FCGI not installed') if $@;
26 26 plan(skip_all => 'win32') if $^O eq 'MSWin32';
27 27
28 my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(9) 28 my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(9)
29 ->write_file_expand('nginx.conf', <<'EOF'); 29 ->write_file_expand('nginx.conf', <<'EOF');
30 30
31 %%TEST_GLOBALS%% 31 %%TEST_GLOBALS%%