[skip ci] Increase tolerance for cve-2014-3538 tests

These regularly fail with "Failed, time=1.5x".
This commit is contained in:
Ilija Tovilo 2025-04-24 11:26:17 +02:00
parent 3fdd3ed9f7
commit b5081339e9
No known key found for this signature in database
GPG key ID: 5050C66BFCD1015A
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ $t = microtime(true);
var_dump(finfo_file($fi, $fd));
$t = microtime(true) - $t;
finfo_close($fi);
if ($t < 1.5) {
if ($t < 2) {
echo "Ok\n";
} else {
printf("Failed, time=%.2f\n", $t);

View file

@ -22,7 +22,7 @@ $t = microtime(true);
var_dump(finfo_file($fi, $fd));
$t = microtime(true) - $t;
finfo_close($fi);
if ($t < 1.5) {
if ($t < 2) {
echo "Ok\n";
} else {
printf("Failed, time=%.2f\n", $t);