Mercurial > hg > nginx-tests
changeset 458:ae69f9bdba92
Tests: fixed access_log.t on win32.
Compressed logs aren't translated by PerlIO, hence newlines may vary (and will
be CRLF on win32).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 01 Sep 2014 14:51:55 +0400 |
parents | 4ceb2d12b7d2 |
children | 272925d99ad5 |
files | access_log.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/access_log.t +++ b/access_log.t @@ -132,7 +132,7 @@ SKIP: { my $gzipped = read_file($t, 'compressed.log'); IO::Uncompress::Gunzip::gunzip(\$gzipped => \$log); - is($log, "/compressed:200\n", 'compressed log - flush time'); + like($log, qr!^/compressed:200!s, 'compressed log - flush time'); } # now verify all other logs