Skip to content

Commit 962c082

Browse files
committed
fileinfo: Fix expected values for test on s390x
The peak memory usage increased by the blanket 1mb on s390 only. This is good to note but otherwise seems acceptable, so just adjusting the test is fine. Signed-off-by: Anatol Belski <ab@php.net>
1 parent bb6b41c commit 962c082

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ext/fileinfo/tests/bug78987.phpt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ $minSize = 128 * 1024;
1111
$maxSize = 16 * 1024 * 1024;
1212

1313
$map = array(
14-
131072 => 9113600,
15-
262144 => 9113600,
16-
524288 => 10850304,
17-
1048576 => 11210752,
18-
2097152 => 13312000,
19-
4194304 => 17510400,
20-
8388608 => 23801856,
21-
16777216 => 36384768,
14+
131072 => 10055680,
15+
262144 => 10055680,
16+
524288 => 11898880,
17+
1048576 => 12152832,
18+
2097152 => 14254080,
19+
4194304 => 18452480,
20+
8388608 => 24743936,
21+
16777216 => 37326848,
2222
);
2323
for($size = $minSize; $size <= $maxSize; $size *= 2) {
2424
$content = str_repeat('0', $size);

0 commit comments

Comments
 (0)