Greg Beaver
fd5be66d13
fix bug #47085:rename() returns true even if the file in PHAR does not exist
2009-02-03 18:29:25 +00:00
Felipe Pena
c3631156fc
- Fixed tests
2009-01-25 16:53:07 +00:00
Hannes Magnusson
4bfd481076
MFH: fix test
2008-12-09 13:02:40 +00:00
Alexey Zakhlestin
a4d609ab04
proper check for php-version
2008-10-21 12:59:45 +00:00
Alexey Zakhlestin
7ff4c359e6
fixed wrong check for version
2008-10-21 12:26:35 +00:00
Greg Beaver
347a58939d
last test for cached phar copy on write (forgot this one yesterday)
2008-10-14 00:38:01 +00:00
Greg Beaver
fdac2c9a12
increase code coverage
2008-10-13 04:50:37 +00:00
Greg Beaver
3a54017556
add complete tests verifying copy-on-write for cached phars
2008-10-13 04:21:09 +00:00
Greg Beaver
5bc1122056
fix faulty tests
2008-10-12 23:32:50 +00:00
Greg Beaver
e16636f069
add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:11 +00:00
Greg Beaver
eaf5d4c8b3
add missing --INI-- section
2008-10-12 18:54:00 +00:00
Greg Beaver
a2b4f65a0c
re-add as binary
2008-10-12 18:47:19 +00:00
Greg Beaver
da731473aa
oops, need to add as binary
2008-10-12 18:46:46 +00:00
Greg Beaver
15cac7f22f
add missing file for tests
2008-10-12 18:45:46 +00:00
Greg Beaver
261d300a0f
add new test for copy-on-write, fix copy-on-write for Phar/PharFileInfo methods
2008-10-12 06:53:32 +00:00
Greg Beaver
5a00c7baf0
re-add as binary
2008-10-12 06:41:27 +00:00
Greg Beaver
415a37bfae
stupid cvs added this as text
2008-10-12 06:41:01 +00:00
Greg Beaver
0182bbf76b
fix files for advanced include_path test
2008-10-12 06:40:36 +00:00
Greg Beaver
53e1428b06
increase code coverage
2008-10-12 05:41:22 +00:00
Greg Beaver
60969b5385
fix links for fseek as well
2008-10-11 22:20:57 +00:00
Greg Beaver
59379244ad
fix reading links from streams (works with PharFileInfo->getContent())
2008-10-11 22:12:07 +00:00
Greg Beaver
eb41e0d64f
work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression
2008-10-11 20:57:08 +00:00
Greg Beaver
fffdf661c9
fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:50:47 +00:00
Greg Beaver
41c95a030d
fix test (thanks Tony)
2008-09-30 13:25:48 +00:00
Greg Beaver
1847779210
fix bug #46178 : memory leak in ext/phar
2008-09-26 16:29:44 +00:00
Greg Beaver
dd51a607e2
increase code coverage, fix bzip2-compressed alias in zip
2008-09-14 06:31:20 +00:00
Greg Beaver
9eb83b6ae9
fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:30:55 +00:00
Greg Beaver
760172fcee
fix Bug #46060 : addEmptyDir() breaks
2008-09-13 20:57:09 +00:00
Antony Dovgal
f2d766b917
fix test
2008-09-11 13:38:15 +00:00
Greg Beaver
e7b6fe1b45
fix Bug #46032 : PharData::__construct wrong memory read
2008-09-11 03:29:15 +00:00
Steph Fox
e8be4d93c5
- Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded
2008-08-31 19:18:35 +00:00
Greg Beaver
678db15b51
commit missing files for tests
2008-08-31 07:03:26 +00:00
Greg Beaver
61b09ab834
fix OS-dependent order in test
2008-08-30 23:12:56 +00:00
Greg Beaver
c3e8485971
fix bug #45792 : bz2 compressed files in zip failure
2008-08-21 05:17:28 +00:00
Antony Dovgal
6eb565a8b0
fix test
2008-08-16 10:48:29 +00:00
Greg Beaver
95a8499996
increase code coverage
2008-08-11 22:43:02 +00:00
Greg Beaver
8526b78286
increase code coverage
2008-08-11 03:53:57 +00:00
Steph Fox
377ff97abd
- MFH Bring phar tests into line across all branches
2008-08-01 13:38:48 +00:00
Steph Fox
6895773aff
- Utilize new UNIX_PATHS flag in SPL
...
- Fix tests
@Jani: hold back on the bunny-killing, HEAD will be in sync later today
2008-07-24 09:22:35 +00:00
Dmitry Stogov
c48c63f5e6
Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)
2008-07-22 07:03:00 +00:00
Dmitry Stogov
68537af530
Fixed directory reanming/deletion
2008-07-20 14:42:34 +00:00
Dmitry Stogov
d82b5d59b4
Added tests that demonstrate serious PHAR errors
...
They cannot be easly fixed without algorithms modification
2008-07-10 14:27:21 +00:00
Etienne Kneuss
e53a9ca709
Fix filename/pathname/getpathinfo tests according to SPL fix
2008-07-09 08:39:42 +00:00
Steph Fox
5db08e7d1f
Duplicate tests to accommodate parameter parsing fixes in 5_3 core
...
(NB the 5_2 tests will fail currently due to name changes, will fix tomorrow)
2008-07-07 01:09:21 +00:00
Greg Beaver
37c684ab3d
in preparation for a performance optimization that involves
...
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches
2008-06-27 01:21:12 +00:00
Greg Beaver
8bf72978b3
fix several issues:
...
1) segfault in phar_buildfromdirectoryiterator8.phpt
2) tests failing because SKIPDOTS is default on 64 bit, not on 32
3) Marcus, you really need to add SKIPDOTS as a class constant, so we don't have to use 0x00001000
2008-06-24 01:11:27 +00:00
Steph Fox
b9e8695e75
- One solution for the openssl issues
...
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done
2008-06-23 19:18:01 +00:00
Steph Fox
019c586191
- Wrong SKIPIF message
2008-06-23 17:48:23 +00:00
Greg Beaver
10f6d9a556
true fix for potential segfault in phar_build
2008-06-23 04:00:23 +00:00
Greg Beaver
0ad165e402
new tests for phar.cache_list
2008-06-22 00:49:54 +00:00