Commit Graph

603 Commits

Author SHA1 Message Date
Dmitry Stogov
e3b901796a Fixed tests 2009-12-16 11:16:32 +00:00
Brian Shire
2484e563e2 Fix phar regex test when '.php' is part of the path, instead be more specific with '.php$' regex. 2009-11-21 05:38:58 +00:00
Greg Beaver
641a9977b7 fix PHP Bug #49938: Phar::isBuffering() returns inverted value 2009-11-13 00:58:11 +00:00
David Coallier
4603dddae6 - Added an extra skipif for zlib 2009-11-12 17:45:08 +00:00
Greg Beaver
6b0c91e868 fix PHP Bug #49910: no support for ././@LongLink for long filenames in phar tar support 2009-11-11 21:02:59 +00:00
Dmitry Stogov
197eb8b13b Fixed tests (removed irrelevant check which makes test to fail from time to time) 2009-09-21 15:23:25 +00:00
Greg Beaver
c880f7e5c4 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
e7e232cd2b make cache_list tests pass in php 6 2009-07-26 03:07:23 +00:00
Greg Beaver
d46a947d23 fix buildFromIterator with filesystem iterator in php 6 2009-07-26 02:43:14 +00:00
Greg Beaver
23f7807148 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
de9bcbb1d0 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
0984d25723 fix zip front controller tests for php6 2009-07-26 00:39:40 +00:00
Greg Beaver
b777e5fd8a fix tar front controller tests for php6 2009-07-26 00:35:17 +00:00
Greg Beaver
e1dccfd492 fix more tests for php6 2009-07-26 00:28:50 +00:00
Greg Beaver
fba6dd1cbf more php6 fixes for phar, fix more tests 2009-07-25 23:45:45 +00:00
Greg Beaver
d39fda5ff7 begin work on making phar php6-ready 2009-07-24 23:53:24 +00:00
Greg Beaver
93e31b4d2f update test to work in php 6 2009-07-24 22:09:36 +00:00
Greg Beaver
2a7b14e571 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
c92396a82c 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
2a0668d57b 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
09072ae3df fix PHP Bug #48377: error message unclear on converting phar with existing file 2009-07-23 17:04:24 +00:00
Greg Beaver
f8cdac39a5 new phar test for zip with data descriptor in local file header 2009-07-23 16:40:47 +00:00
Greg Beaver
aef00895ad Fix Bug #49020: phar misinterprets ustar long filename standard 2009-07-22 19:51:37 +00:00
Greg Beaver
8c574a4bd0 fix php bug #49018 (phar tar stores long filenames with prefix/name reversed) 2009-07-22 18:13:38 +00:00
Greg Beaver
5010fec2f0 fix Bug #48681: openssl signature verification for tar archives broken in ext/phar, merge small fixes to phar.phar generation from PHP_5_3 2009-06-24 22:19:47 +00:00
Greg Beaver
c816d49384 fix EXPECT section of test 2009-06-18 18:12:10 +00:00
Greg Beaver
9948c520ca fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists) 2009-06-05 04:44:55 +00:00
Greg Beaver
4846e56d40 MFPECL: fix security vulnerability in phar's handling of long tar filenames 2009-06-04 20:00:01 +00:00
Greg Beaver
ce8cc1c99d fix potential segfault when converting phars with metadata to other formats, add test 2009-05-24 18:50:37 +00:00
Greg Beaver
3c48633a8f add missing test 2009-05-24 18:47:54 +00:00
Greg Beaver
5af0cbef65 MFB: fix Bug #48257: PharData throws exception with non-phar tar 2009-05-13 20:26:18 +00:00
Felipe Pena
9d61bfdc40 - Fixed tests 2009-05-11 01:53:01 +00:00
Antony Dovgal
81eb79c0a8 fix test 2009-05-01 22:23:27 +00:00
Greg Beaver
db7dc95d15 MFPECL: fixed PECL Bug #14646: phar error message unclear with php stream wrappers 2009-04-30 04:40:31 +00:00
Jani Taskinen
e2fe8ebf6d MFB 2009-04-25 18:02:56 +00:00
Jani Taskinen
5e6bff5c43 - fix test cleanup (== consistent now :) 2009-04-25 17:57:27 +00:00
Greg Beaver
5fb232a2de MFB: revert removal of openssl check, was confusion on my part 2009-03-01 07:20:38 +00:00
Greg Beaver
ed94ab4b24 MFB: add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt 2009-03-01 07:16:55 +00:00
Greg Beaver
f8ec2933b0 MFB: fix blog.phar for front.phar.phpt test 2009-03-01 07:00:22 +00:00
Greg Beaver
ff1a93c841 MFB: fix SKIPIF, EXPECT in 2 tests 2009-03-01 06:50:38 +00:00
Greg Beaver
175577a4dd MFB: 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:57 +00:00
Greg Beaver
8f438d17ad MFB: fix test 2009-02-15 21:50:58 +00:00
Greg Beaver
f232c7f945 MFB: fix bug #47085:rename() returns true even if the file in PHAR does not exist 2009-02-03 18:29:46 +00:00
Hannes Magnusson
2f593a8866 ini_set() should return false on failure, not return the orginal value
and pretend everything is fine.
2008-12-09 13:02:27 +00:00
Alexey Zakhlestin
37c4e3c5ac MFB: proper check for php-version 2008-10-21 13:00:29 +00:00
Greg Beaver
51e82ec848 MFB: last test for cached phar copy on write (forgot this one yesterday) 2008-10-14 00:38:11 +00:00
Greg Beaver
1838c130c9 MFB: increase code coverage 2008-10-13 04:50:45 +00:00
Greg Beaver
072f4489de MFB: add complete tests verifying copy-on-write for cached phars 2008-10-13 04:21:19 +00:00
Greg Beaver
0315794cf4 MFB: fix faulty tests 2008-10-12 23:33:08 +00:00
Greg Beaver
c448cb165c MFB: 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:30 +00:00