comparison request_id.t @ 1251:766bcbb632ee

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 24 Nov 2017 19:58:40 +0300
parents 882267679006
children
comparison
equal deleted inserted replaced
1250:b708848eb49a 1251:766bcbb632ee
59 59
60 EOF 60 EOF
61 61
62 $t->write_file('index.html', ''); 62 $t->write_file('index.html', '');
63 $t->write_file('add.html', '<!--#include virtual="/body" -->'); 63 $t->write_file('add.html', '<!--#include virtual="/body" -->');
64 $t->try_run('no request_id variable support')->plan(12); 64 $t->run()->plan(12);
65 65
66 ############################################################################### 66 ###############################################################################
67 67
68 my ($id1) = http_get('/') =~ qr/^X-Request-Id: (.*)\x0d/m; 68 my ($id1) = http_get('/') =~ qr/^X-Request-Id: (.*)\x0d/m;
69 my ($id2) = http_get('/') =~ qr/^X-Request-Id: (.*)\x0d/m; 69 my ($id2) = http_get('/') =~ qr/^X-Request-Id: (.*)\x0d/m;