fileinfo: Capture more sizes for test as delivered by travis-ci

Signed-off-by: Anatol Belski <ab@php.net>
This commit is contained in:
Anatol Belski 2021-09-18 23:16:38 +02:00
parent e56435c86d
commit 6e0acece68
No known key found for this signature in database
GPG Key ID: BCAA30EA9C0D5763

View File

@ -11,14 +11,14 @@ $minSize = 128 * 1024;
$maxSize = 16 * 1024 * 1024;
$map = array(
131072 => 2097152,
262144 => 2097152,
524288 => 4194304,
1048576 => 4194304,
2097152 => 8388608,
4194304 => 14680064,
8388608 => 20971520,
16777216 => 33554432,
131072 => 9113600,
262144 => 9113600,
524288 => 9113600,
1048576 => 11210752,
2097152 => 13312000,
4194304 => 17510400,
8388608 => 23801856,
16777216 => 36384768,
);
for($size = $minSize; $size <= $maxSize; $size *= 2) {
$content = str_repeat('0', $size);