comparison http_listen.t @ 1535:144c6ce732e4

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 02 Dec 2019 14:56:37 +0300
parents eda1878cf015
children c045fbb98e9a
comparison
equal deleted inserted replaced
1534:96fb3513345b 1535:144c6ce732e4
74 unless $ENV{TEST_NGINX_UNSAFE}; 74 unless $ENV{TEST_NGINX_UNSAFE};
75 75
76 plan(skip_all => 'no requested ranges') 76 plan(skip_all => 'no requested ranges')
77 if "$p0$p1$p2$p3$p4$p5$p6$p7" ne "80808081808280838084808580868087"; 77 if "$p0$p1$p2$p3$p4$p5$p6$p7" ne "80808081808280838084808580868087";
78 78
79 $t->try_run('no listen port ranges')->plan(12); 79 $t->run()->plan(12);
80 80
81 ############################################################################### 81 ###############################################################################
82 82
83 like(http_get("/?b=127.0.0.1:$p0"), qr/127.0.0.1:$p0/, 'single'); 83 like(http_get("/?b=127.0.0.1:$p0"), qr/127.0.0.1:$p0/, 'single');
84 unlike(http_get("/?b=127.0.0.1:$p1"), qr/127.0.0.1:$p1/, 'out of range 1'); 84 unlike(http_get("/?b=127.0.0.1:$p1"), qr/127.0.0.1:$p1/, 'out of range 1');