comparison fastcgi.t @ 121:8ac1faaddd2c

Tests: better handle various configure arguments.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 26 Dec 2009 16:06:17 +0300
parents 1c0ec30614c6
children 21a428b31f37
comparison
equal deleted inserted replaced
120:598b758c68a9 121:8ac1faaddd2c
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
27 my $t = Test::Nginx->new()->has('fastcgi')->plan(4) 27 my $t = Test::Nginx->new()->has(qw/http fastcgi/)->plan(4)
28 ->write_file_expand('nginx.conf', <<'EOF'); 28 ->write_file_expand('nginx.conf', <<'EOF');
29 29
30 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
31 31
32 master_process off; 32 master_process off;