Greg Beaver
e29bccaae2
make phar tests pass in php 5.2, prepare for release of pecl/phar 2.0.0, merge Gwynne's TSRM fix to phar_object.c to other branches
2009-07-29 10:14:04 +00:00
Greg Beaver
1d50248937
make cache_list tests pass in php 6
2009-07-26 03:07:23 +00:00
Greg Beaver
e8d80c8bfd
fix buildFromIterator with filesystem iterator in php 6
2009-07-26 02:43:14 +00:00
Greg Beaver
96dd763df4
fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6)
2009-07-26 02:18:50 +00:00
Greg Beaver
66908185b7
fix basic phar test issues, failing tests phar_oo_009.phpt and phar_buildfromiterator10.phpt are due to bugs in Spl
2009-07-26 01:24:12 +00:00
Greg Beaver
571dfc1e49
fix zip front controller tests for php6
2009-07-26 00:39:40 +00:00
Greg Beaver
39125fdd47
fix tar front controller tests for php6
2009-07-26 00:35:17 +00:00
Greg Beaver
7761a39314
fix more tests for php6
2009-07-26 00:28:50 +00:00
Greg Beaver
cfbd6d852f
more php6 fixes for phar, fix more tests
2009-07-25 23:45:45 +00:00
Greg Beaver
7d114c2e7f
merge from HEAD changes to test
2009-07-24 23:55:49 +00:00
Greg Beaver
e8756a3c3c
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
aa65955c8c
update test to work in php 6
2009-07-24 22:09:36 +00:00
Greg Beaver
cd23986a7a
fix --CLEAN-- of all.phpt, remove unnecessary check in phar_convert_again.phpt, and fix signature generation and checking for zip to also include central directory up to the signature, implement better check for end-of-zip at signature verification
2009-07-24 19:40:41 +00:00
Greg Beaver
d68cc96ebd
merge unmerged changes between branches, remove unnecessary test for zip signature failure in badparameters.phpt
2009-07-24 17:07:05 +00:00
Greg Beaver
42e0e5dfb7
fix signature generation/validation for zip archives by phar extension, fix a few edge cases where memory was leaked on error conditions by missing efree()
2009-07-24 15:42:17 +00:00
Greg Beaver
115e370d6e
fix PHP Bug #48377 : error message unclear on converting phar with existing file
2009-07-23 17:04:24 +00:00
Greg Beaver
09b8bbc97f
new phar test for zip with data descriptor in local file header
2009-07-23 16:40:47 +00:00
Greg Beaver
667c59abd6
Fix Bug #49020 : phar misinterprets ustar long filename standard
2009-07-22 19:51:37 +00:00
Greg Beaver
d967e29541
fix php bug #49018 (phar tar stores long filenames with prefix/name reversed)
2009-07-22 18:13:38 +00:00
Greg Beaver
5dd3306551
fixed bug #48681 (openssl signature verification for tar archives broken)
2009-06-30 14:49:12 +00:00
Greg Beaver
645226d19b
fix EXPECT section of test
2009-06-18 18:12:04 +00:00
Greg Beaver
fb86c3f7a2
MFH: fixed isset() on sub-directories (isset("blah") if file "blah/foo.php" exists)
2009-06-05 04:46:49 +00:00
Greg Beaver
a8e7103bbe
MFPECL: fix security vulnerability in phar's handling of long tar filenames
2009-06-04 19:59:09 +00:00
Greg Beaver
1c30b43e50
MFH: fix potential segfault when converting phars with metadata to other formats, add test
2009-05-24 18:50:58 +00:00
Greg Beaver
475cf4d288
fix Bug #48257 : PharData throws exception with non-phar tar
2009-05-13 20:25:43 +00:00
Felipe Pena
937b429ad8
- Fixed tests
2009-05-11 01:51:07 +00:00
Antony Dovgal
8594654160
fix test
2009-05-01 22:23:59 +00:00
Greg Beaver
6289c323d3
MFPECL fix PECL Bug #14646 : phar error message unclear with php stream wrappers (note: is there a standard way to list PECL bugs in NEWS?)
2009-04-30 04:43:10 +00:00
Greg Beaver
e9d2d08b3c
new test - test passes here, but the pear2coverage.phar.php segfaults in apache 2.2 sapi
2009-04-28 19:28:52 +00:00
Jani Taskinen
3d87ef8b21
MFH
2009-04-25 17:57:36 +00:00
Greg Beaver
4d92c7bffc
revert removal of openssl check, was confusion on my part
2009-03-01 07:20:26 +00:00
Greg Beaver
26ce51d6f1
add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt
2009-03-01 07:16:46 +00:00
Greg Beaver
a51f628bd1
fix blog.phar for front.phar.phpt test
2009-03-01 07:00:13 +00:00
Greg Beaver
79f5f7538c
fix SKIPIF, EXPECT in 2 tests
2009-03-01 06:50:26 +00:00
Greg Beaver
af84168de6
fix faulty logic in tests, needed to use ksort instead of asort and to sort output. These tests failed on some systems with non-case sensitive filesystem sorting
2009-02-21 03:15:47 +00:00
Greg Beaver
5c6a25e750
fix the last remaining failing test (explicitly pass in SKIP_DOTS to directory iterator)
2009-02-15 21:43:39 +00:00
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