
| Current Path : /var/www/html/12park/vendor/pear/archive_tar/tests/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/12park/vendor/pear/archive_tar/tests/big.phpt |
--TEST--
tests if files > 8G are supported
--SKIPIF--
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$tar = new Archive_Tar(dirname(__FILE__) . '/big.tar.bz2');
$content = $tar->listContent();
$found_big_file = false;
foreach ($content as $item) {
if ($item['filename'] === 'big_archive/8.5G_file') {
$found_big_file = true;
$phpunit->assertEquals(9126805504, $item['size'], 'size of big file correct');
}
}
$phpunit->assertTrue($found_big_file, 'found the big file in the archive');
echo 'tests done';
?>
--CLEAN--
--EXPECT--
tests done