comparison auth_request.t @ 331:241acee85fd1

Tests: skip FCGI use on win32.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 16 Sep 2013 23:41:07 +0400
parents d48de852157c
children e7647a966212
comparison
equal deleted inserted replaced
330:617f72beba8d 331:241acee85fd1
171 like(http_post_big('/proxy-double'), qr/ 204 /, 'proxy auth with body read'); 171 like(http_post_big('/proxy-double'), qr/ 204 /, 'proxy auth with body read');
172 172
173 SKIP: { 173 SKIP: {
174 eval { require FCGI; }; 174 eval { require FCGI; };
175 skip 'FCGI not installed', 2 if $@; 175 skip 'FCGI not installed', 2 if $@;
176 skip 'win32', 2 if $^O eq 'MSWin32';
176 177
177 $t->run_daemon(\&fastcgi_daemon); 178 $t->run_daemon(\&fastcgi_daemon);
178 $t->waitforsocket('127.0.0.1:8081'); 179 $t->waitforsocket('127.0.0.1:8081');
179 180
180 like(http_get('/fastcgi'), qr/ 404 /, 'fastcgi auth open'); 181 like(http_get('/fastcgi'), qr/ 404 /, 'fastcgi auth open');