Commit Graph

104 Commits

Author SHA1 Message Date
Ilia Alshanetsky
0927309852 Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist). 2011-02-01 14:01:00 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Hannes Magnusson
8ba86768e7 - Unifiy that message
- Mention php.ini
2010-04-27 08:23:25 +00:00
Hannes Magnusson
b25baf178d mention which setting! 2010-04-25 18:55:06 +00:00
Greg Beaver
641a9977b7 fix PHP Bug #49938: Phar::isBuffering() returns inverted value 2009-11-13 00:58:11 +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
0984d25723 fix zip front controller tests for php6 2009-07-26 00:39:40 +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
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
f8cdac39a5 new phar test for zip with data descriptor in local file header 2009-07-23 16:40:47 +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
0315794cf4 MFB: fix faulty tests 2008-10-12 23:33:08 +00:00
Greg Beaver
7a04372a2d MFB: work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression 2008-10-11 21:02:53 +00:00
Greg Beaver
2f54ca9c7a MFB: increase code coverage, fix bzip2-compressed alias in zip 2008-09-14 06:32:52 +00:00
Steph Fox
cd011d1e9a - MFB 2008-08-31 20:54:28 +00:00
Greg Beaver
a036fadb91 MFB increase code coverage 2008-08-21 20:36:21 +00:00
Steph Fox
755642c355 - Bring phar tests into line across all branches 2008-08-01 13:36:19 +00:00
Etienne Kneuss
4d1b2255de MFB: Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 09:01:08 +00:00
Antony Dovgal
af74288a41 fix test 2008-06-04 07:52:04 +00:00
Greg Beaver
6db7baba99 MFB: fix corrupted zips, fix postprocess for compressed zip file 2008-05-30 22:49:46 +00:00
Greg Beaver
195ee5ca73 MFB: fix PECL bug #13981: Third-party zips fail entry interrogation 2008-05-29 17:34:58 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Steph Fox
2c20c55716 - unicodify expected output 2008-05-19 19:37:39 +00:00
Steph Fox
f08aea109b - IS_UNICODE checks and conversions
- stub and creation file updates
- far too many test updates to think about
2008-05-19 19:05:42 +00:00
Felipe Pena
87d80cf81a - Added UEXPECTF 2008-05-18 00:47:22 +00:00
Steph Fox
c1ae13b985 - Make internal code back-compatible. This included a binary cast in the default stub, hence many test updates.
- Just over a third of tests pass. Test manifests are broken currently.
2008-05-14 21:27:31 +00:00
Felipe Pena
ede5c8dd09 - Fixed tests (added default_charset=) 2008-05-13 19:18:11 +00:00
Felipe Pena
461006fa97 - Added SKIPIF 2008-05-13 14:49:36 +00:00
Greg Beaver
82dc03941a fix weird alias issues, add tests to check for new-found problems 2008-05-12 20:42:07 +00:00
Steph Fox
dba1c11685 - Make sure default alias is set in phar.zip
- Add test
2008-05-12 17:12:56 +00:00
Greg Beaver
96d4c2b62f fix zip metadata for archive/fix perms for file in zip/all.phpt test 2008-05-06 21:46:26 +00:00
Greg Beaver
04735b675d new failing test for testing all zip creation facets 2008-05-06 21:34:19 +00:00
Greg Beaver
5ba8ca70a4 fix alias overloading handling for archives that are not in use 2008-05-06 21:14:53 +00:00
Greg Beaver
bfbe53eeb2 refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
2008-05-02 05:05:56 +00:00
Steph Fox
8a970147ad - Allow setStub() to continue working
- Fix tests broken by earlier commit
2008-04-29 12:26:58 +00:00
Steph Fox
51459aade4 - Another test that gives completely different results if readonly=0 2008-04-27 12:22:36 +00:00
Steph Fox
473abd4e2b - Deleting files we cannot see... 2008-04-27 11:36:22 +00:00
Steph Fox
37a8782f0c - Fix a couple of failing tests/bad cleanup
@Greg: the phpinfo() ones assumed no php.ini - this isn't always the case, even if it should be
2008-04-27 11:31:27 +00:00
Greg Beaver
fade22bfd8 fix ridiculously critical omission in zip flush - we never set compressed file size! Augment zip test for bz2/zlib-compressed alias files to increase code coverage 2008-04-26 23:02:51 +00:00
Greg Beaver
ad6e7fc667 add screening of alias to reading of zip archives, and test for bad aliases 2008-04-26 22:04:04 +00:00
Greg Beaver
5b85b2074b new test/updated test to ensure stub integrity (I was wrong, zip is fine) 2008-04-26 17:47:31 +00:00
Greg Beaver
76c78a480e increase code coverage (and magically, mysteriously this tests passes with no other changes - weird) 2008-04-26 17:29:55 +00:00
Greg Beaver
eb6b941d2a fix clean 2008-04-26 17:28:28 +00:00
Greg Beaver
f37605ec0c increase code coverage 2008-04-26 17:27:47 +00:00
Greg Beaver
b22cc67e6b new test increases code coverage 2008-04-26 17:20:50 +00:00
Greg Beaver
2227f10f3e add failing portion of test for compressed alias read 2008-04-26 17:18:15 +00:00
Greg Beaver
8e7f6d6662 add failing portion of test for bz2 compressed file on open 2008-04-26 17:14:27 +00:00
Greg Beaver
7ee3597851 increase code coverage 2008-04-21 16:56:45 +00:00
Greg Beaver
7d218cab35 cosmetics: same case as other tests 2008-04-21 16:42:24 +00:00