Mercurial > hg > nginx-tests
diff stream_proxy_protocol.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | f3ba4c74de31 |
line wrap: on
line diff
--- a/stream_proxy_protocol.t +++ b/stream_proxy_protocol.t @@ -26,7 +26,7 @@ use Test::Nginx::Stream qw/ stream /; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/stream/) +my $t = Test::Nginx->new()->has(qw/stream/)->plan(2) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -54,7 +54,7 @@ stream { EOF $t->run_daemon(\&stream_daemon); -$t->try_run('no stream proxy_protocol')->plan(2); +$t->run(); $t->waitforsocket('127.0.0.1:' . port(8081)); ###############################################################################