comparison server_tokens.t @ 1122:8c0b0cfe51ef

Tests: adjusted server_tokens TODOs.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 01 Feb 2017 20:03:30 +0300
parents c883d3d3a3ab
children d737d6606504
comparison
equal deleted inserted replaced
1121:c883d3d3a3ab 1122:8c0b0cfe51ef
106 like(http_body('/on/404'), $re, 'tokens on 404 body'); 106 like(http_body('/on/404'), $re, 'tokens on 404 body');
107 107
108 $re = qr/$re \Q($1)\E/ if $t->{_configure_args} =~ /--build=(\S+)/; 108 $re = qr/$re \Q($1)\E/ if $t->{_configure_args} =~ /--build=(\S+)/;
109 109
110 TODO: { 110 TODO: {
111 local $TODO = 'not yet'; 111 local $TODO = 'not yet' unless $t->has_version('1.10.10');
112 112
113 like(http_get_server('/b/200'), $re, 'tokens build 200'); 113 like(http_get_server('/b/200'), $re, 'tokens build 200');
114 like(http_get_server('/b/404'), $re, 'tokens build 404'); 114 like(http_get_server('/b/404'), $re, 'tokens build 404');
115 like(http_body('/b/404'), $re, 'tokens build 404 body'); 115 like(http_body('/b/404'), $re, 'tokens build 404 body');
116 116