comparison stream_udp_proxy.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
20 ############################################################################### 20 ###############################################################################
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24 24
25 my $t = Test::Nginx->new()->has(qw/stream udp/) 25 my $t = Test::Nginx->new()->has(qw/stream udp/)->plan(5)
26 ->write_file_expand('nginx.conf', <<'EOF'); 26 ->write_file_expand('nginx.conf', <<'EOF');
27 27
28 %%TEST_GLOBALS%% 28 %%TEST_GLOBALS%%
29 29
30 daemon off; 30 daemon off;
57 57
58 EOF 58 EOF
59 59
60 60
61 $t->run_daemon(\&udp_daemon, port(8081), $t); 61 $t->run_daemon(\&udp_daemon, port(8081), $t);
62 $t->try_run('no stream udp')->plan(5); 62 $t->run();
63 $t->waitforfile($t->testdir . '/' . port(8081)); 63 $t->waitforfile($t->testdir . '/' . port(8081));
64 64
65 ############################################################################### 65 ###############################################################################
66 66
67 my $s = dgram('127.0.0.1:' . port(8080)); 67 my $s = dgram('127.0.0.1:' . port(8080));