changeset 797:55ca38e1a3d9

Tests: TODO 'phantom event' alerts in mail_imap_ssl.t on Solaris. See 153969b53780 for details.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 09 Dec 2015 13:52:37 +0300
parents 92375c379a0a
children faf2e460b951
files mail_imap_ssl.t
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mail_imap_ssl.t
+++ b/mail_imap_ssl.t
@@ -35,8 +35,11 @@ local $SIG{PIPE} = 'IGNORE';
 
 my $t = Test::Nginx->new()
 	->has(qw/mail mail_ssl imap http rewrite/)->has_daemon('openssl')
-	->run_daemon(\&Test::Nginx::IMAP::imap_test_daemon)->plan(12)
-	->write_file_expand('nginx.conf', <<'EOF');
+	->run_daemon(\&Test::Nginx::IMAP::imap_test_daemon)->plan(12);
+
+$t->todo_alerts() if $^O eq 'solaris';
+
+$t->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%