summaryrefslogtreecommitdiff
path: root/ext/phar/tests/012.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2005-12-12 06:17:16 +0000
committerGreg Beaver <cellog@php.net>2005-12-12 06:17:16 +0000
commitb4cc79277a2419a38bf7876880dd10a0f4488135 (patch)
tree1ade72aaf99f421e64c0dfceeb1c83c8fd30cec9 /ext/phar/tests/012.phpt
parenta13a4487a42f83bfc00f4ad918e7d96b1554fb91 (diff)
downloadphp-git-b4cc79277a2419a38bf7876880dd10a0f4488135.tar.gz
complete unit tests (woohoo!)
add stream seek (mistakenly never enabled)
Diffstat (limited to 'ext/phar/tests/012.phpt')
-rw-r--r--ext/phar/tests/012.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/phar/tests/012.phpt b/ext/phar/tests/012.phpt
index 9847c34015..71f624f680 100644
--- a/ext/phar/tests/012.phpt
+++ b/ext/phar/tests/012.phpt
@@ -9,7 +9,6 @@ register_shutdown_function('cleanup');
$file = "<?php
PHP_Archive::mapPhar(5, 'hio', false);
__HALT_COMPILER(); ?>";
-// compressed file length does not include 8 bytes for crc/file length and should
$manifest = pack('V', 1) . 'a' . pack('VVVV', 1, time(), 0, 9);
$file .= pack('VV', strlen($manifest) + 4, 1) . $manifest . pack('VV', crc32('a'), 1) . 'a';
file_put_contents(dirname(__FILE__) . '/008_phar.php', $file);