comparison mail_smtp_greeting_delay.t @ 159:b5d0fcb02980

Tests: ignore SIGPIPE in mail_smtp_greeting_delay.t.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 26 Jul 2011 15:04:01 +0400
parents b714d6df958c
children c0ae29632905
comparison
equal deleted inserted replaced
158:72236ee09631 159:b5d0fcb02980
17 17
18 ############################################################################### 18 ###############################################################################
19 19
20 select STDERR; $| = 1; 20 select STDERR; $| = 1;
21 select STDOUT; $| = 1; 21 select STDOUT; $| = 1;
22
23 local $SIG{PIPE} = 'IGNORE';
22 24
23 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(2) 25 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(2)
24 ->write_file_expand('nginx.conf', <<'EOF')->run(); 26 ->write_file_expand('nginx.conf', <<'EOF')->run();
25 27
26 %%TEST_GLOBALS%% 28 %%TEST_GLOBALS%%