summaryrefslogtreecommitdiff
path: root/tests/data/test_debs
AgeCommit message (Collapse)AuthorFilesLines
2015-06-21fix py3 issue with auto .gz decompression and add testMichael Vogt1-0/+0
2015-06-11python/tarfile.cc: LFS: Handle too large fileJulian Andres Klode1-0/+0
Handle both file sizes larger than SIZE_MAX and allocation failures when reading the data of a tarmember. If using the go() function with a callback, pass None as the data parameter for files that are too large. For extractdata, raise a MemoryError if the file too extract is too large. Also check for an existing error first in extractdata, before raising a new one. Test the whole thing on 32-bit platforms with a sample deb that contains a zeroed file that is 5GB large (compressed using xz at level 1 to a few kb).
2015-06-10apt.debfile: Fix splitting of multi-lines Binary fields in dsc filesJulian Andres Klode1-1/+2
In a multi-line field, a comma might be followed by a newline instead of a space. Closes: #751770
2014-03-17Support all compressors for data.tar/control.tar (Closes: #718330)Julian Andres Klode2-0/+0
This makes our support very flexible, and open for future additions of new compression algorithms. debfile_extract_tar() is almost identical to ExtractTarMember() of apt's debDebFile.
2013-10-21apt/debfile.py: Pass strip_multi_arch=False to parse_depends.Julian Andres Klode3-0/+39
Patch by Michael, tests derived from the ones provided by the reporter. I included the test debs without the source package, as for our use case, all needed "source code" is included in the package itself anyway. Reported-By: Francois Gouget <fgouget@free.fr> Closes: #717859 Closes: #717861
2011-10-21first cut of multiarch support, tests still fail thoughMichael Vogt1-0/+0
2011-07-13* python/arfile.cc:Michael Vogt1-0/+0
- use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx
2011-03-21* python/arfile.cc, apt/debfile.py:Michael Vogt1-0/+0
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression
2010-09-02merged patch from Samuel Lidén Borell to fix crash if there utf8 Michael Vogt1-0/+0
in the control file (LP: #624290) and add test
2010-08-31tests/test_debfile.py: add test for binary readingMichael Vogt1-0/+0
2010-08-31add content reading testMichael Vogt1-0/+0
2010-08-05tests/test_debfile.py: make it work on amd64, improve failure messageMichael Vogt3-1/+33
2010-08-05tests/data/test_debs/hello_2.5-1.dsc: simplify debs (to avoid universe issues)Michael Vogt1-1/+1
2010-08-05merged from debian-sid, fix crash in Dsc file handlingMichael Vogt2-0/+34
2010-08-05* apt/debfile.py:Michael Vogt1-0/+33
- fix crash in DscFile handling and add regression test
2010-08-05* apt/debfile.py:Michael Vogt1-0/+32
- fix crash in DscFile handling and add regression test
2010-07-12merged from debian-sid, improve test outputMichael Vogt11-0/+53
2010-07-12tests/test_debfile.py: move test_debs into tests/dataMichael Vogt11-0/+77