Skip to content

Commit a3566e7

Browse files
committed
Skip test on 32bit platforms
We can't copy files > 4GB there, anyway.
1 parent 749445a commit a3566e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/standard/tests/file/bug81145.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Bug #81145 (copy() and stream_copy_to_stream() fail for +4GB files)
33
--SKIPIF--
44
<?php
55
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6+
if (PHP_INT_SIZE !== 8) die("skip this test is for 64bit platforms only");
67
if (disk_free_space(__DIR__) < 0x220000000) die("skip insuffient disk space");
78
if (PHP_OS_FAMILY !== "Windows") {
89
exec("fallocate -h", $output, $status);

0 commit comments

Comments
 (0)