comparison 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
comparison
equal deleted inserted replaced
1019:41139d6f8b7b 1020:196d33c2bb45
24 ############################################################################### 24 ###############################################################################
25 25
26 select STDERR; $| = 1; 26 select STDERR; $| = 1;
27 select STDOUT; $| = 1; 27 select STDOUT; $| = 1;
28 28
29 my $t = Test::Nginx->new()->has(qw/stream/) 29 my $t = Test::Nginx->new()->has(qw/stream/)->plan(2)
30 ->write_file_expand('nginx.conf', <<'EOF'); 30 ->write_file_expand('nginx.conf', <<'EOF');
31 31
32 %%TEST_GLOBALS%% 32 %%TEST_GLOBALS%%
33 33
34 daemon off; 34 daemon off;
52 } 52 }
53 53
54 EOF 54 EOF
55 55
56 $t->run_daemon(\&stream_daemon); 56 $t->run_daemon(\&stream_daemon);
57 $t->try_run('no stream proxy_protocol')->plan(2); 57 $t->run();
58 $t->waitforsocket('127.0.0.1:' . port(8081)); 58 $t->waitforsocket('127.0.0.1:' . port(8081));
59 59
60 ############################################################################### 60 ###############################################################################
61 61
62 my $dp = port(8080); 62 my $dp = port(8080);