Mercurial > hg > nginx-tests
diff proxy_if.t @ 592:355f2d5ff60f
Tests: catch nginx alerts on exit.
The new todo_alerts() function is used to mark such a test as TODO.
Notably, proxy_if.t is currently expected to produce alerts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 27 May 2015 16:58:35 +0300 |
parents | 907e89fba9c3 |
children | e9064d691790 |
line wrap: on
line diff
--- a/proxy_if.t +++ b/proxy_if.t @@ -25,7 +25,7 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http proxy rewrite http_ssl/) ->has_daemon('openssl')->plan(15); -$t->write_file_expand('nginx.conf', <<'EOF'); +$t->write_file_expand('nginx.conf', <<'EOF')->todo_alerts(); %%TEST_GLOBALS%%