summaryrefslogtreecommitdiff
path: root/_test/tests/inc/tar.test.php
Commit message (Collapse)AuthorAge
* remove tests that are now in upstreamAndreas Gohr2015-05-15
|
* call parent constructor as wellElan Ruusamäe2014-04-16
|
* run as much as possible (fill extensions conditionally), skip missing ext onceElan Ruusamäe2014-04-14
|
* tar: test. skip instead of error if bz2 or zlib extension is missingElan Ruusamäe2014-04-14
|
* fixed cleanPath bug in tar library FS#2802Andreas Gohr2013-08-03
| | | | | | | | | | | | This time the test case was correct and actually showed a bug in the tar library. The error occured only on the first build (directory build/0/) where the zero was stripped from the path name. I added unit tests to the cleanPath function and discovered another bug with handling relative directories. I rewrote the cleanPath() function and now it should finally work. Unit tests FTW!
* FS#2802 correctly fix tar testsAndreas Gohr2013-08-02
| | | | | | When the DokuWiki install was in a deep namespace, the used path name could land in the >100 char limit and trigger ustar format where the filename and directory name are split. This would fail the test.
* fixed tar tests FS#2809Andreas Gohr2013-08-01
| | | | | Tars strip the leading slash so the tests where wrong. Not sure why they stilldid work sometimes
* added test case for FS#1442Andreas Gohr2013-07-30
|
* tar library: another fix for lone zero blocksAndreas Gohr2013-05-09
|
* Revert "handle bzip1 as well"Andreas Gohr2013-01-23
| | | | | | | This reverts commit f2cb3ec76dec3fe2b40f25765ef842223c7132fe. Turns out I was too fast merging this. I can't get PHP's bzip handler to handle a bzip1 compressed file.
* handle bzip1 as wellElan Ruusamäe2013-01-23
| | | | | in fact .tbz is tar.bz (bzip1) and .tbz2 is what tar.bz2 is used commonly.
* unit test for tar bombsAndreas Gohr2012-11-04
|
* Tar: support for creating archives with long filenamesAndreas Gohr2012-11-04
| | | | | The library now creates either a POSIX ustar prefix or a GNU longlink entry for files which have a name longer than 100 bytes
* Tar: Added extraction support for long file namesAndreas Gohr2012-11-04
| | | | Supports POSIX ustar prefixes and GNU longlink entries
* added test cases for Tar::extract parametersAndreas Gohr2012-11-03
|
* Completely rewritten Tar libraryAndreas Gohr2012-11-03
This new class is only losely based on our previous library. The whole API was changed to make it more flexible and memory saving. Some fisrt unit tests are included