comparison pop3.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
comparison
equal deleted inserted replaced
120:598b758c68a9 121:8ac1faaddd2c
27 select STDOUT; $| = 1; 27 select STDOUT; $| = 1;
28 28
29 local $SIG{PIPE} = 'IGNORE'; 29 local $SIG{PIPE} = 'IGNORE';
30 30
31 my $t = Test::Nginx->new() 31 my $t = Test::Nginx->new()
32 ->has('mail')->plan(8) 32 ->has(qw/mail pop3 http rewrite/)->plan(8)
33 ->run_daemon(\&Test::Nginx::POP3::pop3_test_daemon) 33 ->run_daemon(\&Test::Nginx::POP3::pop3_test_daemon)
34 ->write_file_expand('nginx.conf', <<'EOF')->run(); 34 ->write_file_expand('nginx.conf', <<'EOF')->run();
35 35
36 %%TEST_GLOBALS%% 36 %%TEST_GLOBALS%%
37 37