diff http_variables.t @ 1130:cb46ac65d50e

Tests: fixed expected value for multiple Cache-Control headers. Expect the only valid separator in the $sent_http_cache_control variable.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 14 Feb 2017 17:09:52 +0300
parents 577a5899a33d
children 4bc1490cedbc
line wrap: on
line diff
--- a/http_variables.t
+++ b/http_variables.t
@@ -87,7 +87,7 @@ like(http_get('/limit_rate'), qr/X-Rate:
 my $log = $t->read_file('cc.log');
 like($log, qr!^: -$!m, 'no uri');
 like($log, qr!^/: -$!m, 'no header');
-like($log, qr!^/set: max-age=3600[,;] private[,;] must-revalidate$!m,
+like($log, qr!^/set: max-age=3600, private, must-revalidate$!m,
 	'multi headers');
 
 like($log, qr!^/redefine: no-cache$!m, 'ignoring headers with (hash == 0)');