comparison 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
comparison
equal deleted inserted replaced
1019:41139d6f8b7b 1020:196d33c2bb45
21 ############################################################################### 21 ###############################################################################
22 22
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 my $t = Test::Nginx->new()->has(qw/stream stream_limit_conn udp shmem/) 26 my $t = Test::Nginx->new()->has(qw/stream stream_limit_conn udp/)->plan(9)
27 ->write_file_expand('nginx.conf', <<'EOF'); 27 ->write_file_expand('nginx.conf', <<'EOF');
28 28
29 %%TEST_GLOBALS%% 29 %%TEST_GLOBALS%%
30 30
31 daemon off; 31 daemon off;
73 } 73 }
74 } 74 }
75 75
76 EOF 76 EOF
77 77
78 $t->try_run('no stream udp')->plan(9); 78 $t->run();
79 $t->run_daemon(\&udp_daemon, $t); 79 $t->run_daemon(\&udp_daemon, $t);
80 $t->waitforfile($t->testdir . '/' . port(8080)); 80 $t->waitforfile($t->testdir . '/' . port(8080));
81 81
82 ############################################################################### 82 ###############################################################################
83 83