comparison smtp-greeting-delay.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
18 ############################################################################### 18 ###############################################################################
19 19
20 select STDERR; $| = 1; 20 select STDERR; $| = 1;
21 select STDOUT; $| = 1; 21 select STDOUT; $| = 1;
22 22
23 my $t = Test::Nginx->new()->has('mail')->plan(2) 23 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(2)
24 ->write_file_expand('nginx.conf', <<'EOF')->run(); 24 ->write_file_expand('nginx.conf', <<'EOF')->run();
25 25
26 %%TEST_GLOBALS%% 26 %%TEST_GLOBALS%%
27 27
28 master_process off; 28 master_process off;