We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70dab5d commit 53893c4Copy full SHA for 53893c4
ext/standard/tests/file/bug81145.phpt
@@ -8,7 +8,7 @@ if (disk_free_space(__DIR__) < 0x220000000) die("skip insuffient disk space");
8
if (PHP_OS_FAMILY !== "Windows") {
9
$src = __DIR__ . "/bug81145_src.bin";
10
define('SIZE_4G', 0x100000000);
11
- exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status);
+ exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src) . " 2> /dev/null", $output, $status);
12
if ($status !== 0) die("skip fallocate() not supported");
13
@unlink(__DIR__ . "/bug81145_src.bin");
14
}
0 commit comments