Mercurial > hg > nginx-tests
diff stream_udp_limit_conn.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 | e4974af3fb12 |
line wrap: on
line diff
--- a/stream_udp_limit_conn.t +++ b/stream_udp_limit_conn.t @@ -23,7 +23,7 @@ use Test::Nginx::Stream qw/ dgram /; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/stream stream_limit_conn udp shmem/) +my $t = Test::Nginx->new()->has(qw/stream stream_limit_conn udp/)->plan(9) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -75,7 +75,7 @@ stream { EOF -$t->try_run('no stream udp')->plan(9); +$t->run(); $t->run_daemon(\&udp_daemon, $t); $t->waitforfile($t->testdir . '/' . port(8080));