Mercurial > hg > nginx-tests
comparison mail_smtp_xclient.t @ 157:74bc22b97538
Tests: add missing rewrite prerequisite.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 05 Jul 2011 20:30:41 +0400 |
parents | b714d6df958c |
children | c0ae29632905 |
comparison
equal
deleted
inserted
replaced
156:abfde9ce9e62 | 157:74bc22b97538 |
---|---|
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 local $SIG{PIPE} = 'IGNORE'; | 26 local $SIG{PIPE} = 'IGNORE'; |
27 | 27 |
28 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(6) | 28 my $t = Test::Nginx->new()->has(qw/mail smtp http rewrite/)->plan(6) |
29 ->run_daemon(\&Test::Nginx::SMTP::smtp_test_daemon) | 29 ->run_daemon(\&Test::Nginx::SMTP::smtp_test_daemon) |
30 ->write_file_expand('nginx.conf', <<'EOF')->run(); | 30 ->write_file_expand('nginx.conf', <<'EOF')->run(); |
31 | 31 |
32 %%TEST_GLOBALS%% | 32 %%TEST_GLOBALS%% |
33 | 33 |