Mercurial > hg > nginx-tests
changeset 66:b4f1e64882b7
Tests: cleanup smtp-greeting-delay test.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Jan 2009 19:22:53 +0300 |
parents | 02b82337a3ec |
children | 5d16f380cd75 |
files | smtp-greeting-delay.t |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/smtp-greeting-delay.t Mon Jan 26 17:54:49 2009 +0300 +++ b/smtp-greeting-delay.t Mon Jan 26 19:22:53 2009 +0300 @@ -41,6 +41,10 @@ } } +http { + # stub to avoid SIGSEGV when perl module compiled in, <= 0.7.30 +} + EOF ############################################################################### @@ -51,6 +55,12 @@ my $s = Test::Nginx::SMTP->new(); $s->send('HELO example.com'); $s->check(qr/^5.. /, "command before greeting - session must be rejected"); + +TODO: { +local $TODO = 'not in official nginx yet'; + ok($s->eof(), "session have to be closed"); +} + ###############################################################################