mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: [skip ci] Increase tolerance for cve-2014-3538 tests
This commit is contained in:
commit
86ac21c3cd
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ $t = microtime(true);
|
||||||
var_dump(finfo_file($fi, $fd));
|
var_dump(finfo_file($fi, $fd));
|
||||||
$t = microtime(true) - $t;
|
$t = microtime(true) - $t;
|
||||||
finfo_close($fi);
|
finfo_close($fi);
|
||||||
if ($t < 1.5) {
|
if ($t < 2) {
|
||||||
echo "Ok\n";
|
echo "Ok\n";
|
||||||
} else {
|
} else {
|
||||||
printf("Failed, time=%.2f\n", $t);
|
printf("Failed, time=%.2f\n", $t);
|
||||||
|
|
|
@ -22,7 +22,7 @@ $t = microtime(true);
|
||||||
var_dump(finfo_file($fi, $fd));
|
var_dump(finfo_file($fi, $fd));
|
||||||
$t = microtime(true) - $t;
|
$t = microtime(true) - $t;
|
||||||
finfo_close($fi);
|
finfo_close($fi);
|
||||||
if ($t < 1.5) {
|
if ($t < 2) {
|
||||||
echo "Ok\n";
|
echo "Ok\n";
|
||||||
} else {
|
} else {
|
||||||
printf("Failed, time=%.2f\n", $t);
|
printf("Failed, time=%.2f\n", $t);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue