summaryrefslogtreecommitdiff
path: root/testsuite/tar.tests
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: remove forgotten debug hackDenys Vlasenko2013-12-311-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix failures found by randomconfig buildsDenys Vlasenko2013-12-311-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: prevent empty file to be treated as valid tarballDenys Vlasenko2013-11-191-0/+25
| | | | | | | function old new delta tar_main 879 895 +16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a copy/paste error in last tar testcase nameDenys Vlasenko2013-11-191-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: add a testcase for previous commitDenys Vlasenko2013-11-191-0/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: add a test that tar detects XZ-compressed dataDenys Vlasenko2012-03-061-0/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-101-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: skip leading / and handle names like abc/..////def -> def (not ///def)Denys Vlasenko2011-03-021-1/+1
| | | | | | | | | function old new delta strip_unsafe_prefix - 105 +105 writeFileToTarball 557 520 -37 get_header_tar 1545 1462 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: on extract, everything up to and including last ".." is strippedDenys Vlasenko2011-03-011-0/+17
| | | | | | | function old new delta get_header_tar 1493 1545 +52 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2011-02-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix a bug where autodetection messes up -z on extractDenys Vlasenko2011-02-061-0/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixed a couple of failing tar testsDan Fandrich2010-09-121-4/+5
| | | | | | | | | The tar symlinks mode test is fixed similarly to the hardlinks test in 0d7cb4cc, and the read-only test is skipped by SKIP_KNOWN_BUGS. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tar: add a test for extraction of read-only directoryDan Fandrich2010-09-051-0/+25
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fix false positive in testsuite/tar.testsDenys Vlasenko2010-09-031-4/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Fix some test casesDan Fandrich2010-09-031-2/+6
| | | | | | | | The tar tests still don't pass, but at least now it's because of a problem with Busybox and not the tests themselves. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Improved portability of testsDan Fandrich2010-08-111-0/+6
| | | | | | | | Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-111-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig testsuite fixesDenys Vlasenko2010-05-101-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix "hardlinks to symlinks chown" bug 1519.Denys Vlasenko2010-04-091-0/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix mishandling of repeated hardlink in tarball; expand testsDenys Vlasenko2010-04-091-7/+45
| | | | | | | | function old new delta data_extract_all 727 767 +40 get_header_tar 1576 1572 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite fixesChris Metcalf2010-04-021-0/+2
| | | | | Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: add support for --overwrite. +70 bytes.Denys Vlasenko2009-12-161-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libunarchive: move dpkg-specific things into dpkg.c. 0 byte size differencesDenys Vlasenko2009-12-161-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: add a test for latest fixDenys Vlasenko2009-11-291-0/+35
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>