Mercurial > hg > nginx-tests
comparison http_variables.t @ 447:183f21bbe3d6
Tests: removed http_variables.t TODO check, fix merged.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 07 Aug 2014 13:40:33 +0400 |
parents | cd61bacbbfe0 |
children | adf5671391ac |
comparison
equal
deleted
inserted
replaced
446:37a46774e307 | 447:183f21bbe3d6 |
---|---|
82 local $/; | 82 local $/; |
83 $log = <LOG>; | 83 $log = <LOG>; |
84 close LOG; | 84 close LOG; |
85 } | 85 } |
86 | 86 |
87 TODO: { | |
88 local $TODO = 'not yet' unless $t->has_version('1.7.4'); | |
89 | |
90 like($log, qr!^: -$!m, 'no uri'); | 87 like($log, qr!^: -$!m, 'no uri'); |
91 | |
92 } | |
93 | |
94 like($log, qr!^/: -$!m, 'no header'); | 88 like($log, qr!^/: -$!m, 'no header'); |
95 like($log, qr!^/set: max-age=3600[,;] private[,;] must-revalidate$!m, | 89 like($log, qr!^/set: max-age=3600[,;] private[,;] must-revalidate$!m, |
96 'multi headers'); | 90 'multi headers'); |
97 | 91 |
98 like($log, qr!^/redefine: no-cache$!m, 'ignoring headers with (hash == 0)'); | 92 like($log, qr!^/redefine: no-cache$!m, 'ignoring headers with (hash == 0)'); |