diff fastcgi_cache.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 a7cc4371f4ad
children 6a0d934950bc
line wrap: on
line diff
--- a/fastcgi_cache.t
+++ b/fastcgi_cache.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 cache/)->plan(5)
 	->write_file_expand('nginx.conf', <<'EOF');