summaryrefslogtreecommitdiff
path: root/test/integration/test-compressed-indexes
Commit message (Collapse)AuthorAgeFilesLines
* test exitcode as well as string equalityDavid Kalnischkies2015-03-161-13/+13
| | | | | | | | We use test{success,failure} now all over the place in the framework, so its only consequencial to do this in the situations in which we test for a specific output as well. Git-Dch: Ignore
* chown finished partial files earlierDavid Kalnischkies2014-10-231-2/+6
| | | | | | | | | | | | | | | | | partial files are chowned by the Item baseclass to let the methods work with them. Now, this baseclass is also responsible for chowning the files back to root instead of having various deeper levels do this. The consequence is that all overloaded Failed() methods now call the Item::Failed base as their first step. The same is done for Done(). The effect is that even in partial files usually don't belong to _apt anymore, helping sneakernets and reducing possibilities of a bad method modifying files not belonging to them. The change is supported by the framework not only supporting being run as root, but with proper permission management, too, so that privilege dropping can be tested with them.
* ignore Acquire::GzipIndexes for cdrom sourcesDavid Kalnischkies2014-10-151-10/+25
| | | | | | We do not support compressed indexes for cdrom sources as we rewrite some of them, so supporting it correctly could be hard. What we do instead in the meantime is probably disabling it for cdrom sources.
* do not load filesize in pkgAcqIndexTrans explicitlyDavid Kalnischkies2014-10-131-3/+4
| | | | | | | | The constructor is calling the baseclass pkgAcqIndex which does this already – and also does it correctly for compressed files which would overwise lead to the size of uncompressed files to be expected. Git-Dch: Ignore
* Merge remote-tracking branch 'upstream/debian/experimental' into ↵Michael Vogt2014-10-071-2/+2
| | | | | | | feature/acq-trans Conflicts: apt-pkg/acquire-item.cc
* rewrite compressed indexes test to check with all compressorsDavid Kalnischkies2014-09-251-91/+103
| | | | Git-Dch: Ignore
* generalize Acquire::GzipIndexMichael Vogt2014-09-211-11/+9
|
* support Acquire::GzipIndexes in dumpavailDavid Kalnischkies2014-06-101-0/+2
| | | | Closes: 742835
* ensure that gz compression test is run with gzDavid Kalnischkies2014-03-131-0/+1
| | | | | | | | | The framework can be configured to use different compression algorithms to test different ones, but a testcase testing for gz support should always be run with gz, regardless of what compressions are configured otherwise. Git-Dch: Ignore
* add chronic-like testsuccess/testfailure helpersDavid Kalnischkies2013-08-121-17/+17
| | | | | | | | | | For many commands the output isn't stable (like then dpkg is called) but the exitcode is, so this helper enhances the common && msgpass || msgfail by generating automatically a msgtest and showing the output of the command in case of failure instead of discarding it unconditionally, the later being chronic-like behaviour Git-Dch: Ignore
* fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies2011-09-091-4/+4
|
* remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies2011-08-221-5/+4
| | | invalid in most cases anyway
* avoid building simple packages with debhelper to speed it up a bitDavid Kalnischkies2011-01-211-3/+3
|
* * test/integration/test-compressed-indexes, test/test-indexes.sh:Martin Pitt2010-11-151-0/+1
| | | | | - Explicitly disable compressed indexes at the start. This ensures that we will actually test uncompressed indexes regardless of the internal default value of Acquire::GzipIndexes.
* tests/integration/test-*: remove a bunch of "local" that are used outside ↵Michael Vogt2010-10-131-1/+1
| | | | funtions (bash complains)
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-08-211-0/+131
- don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses Add also 2 testcases: one to test pdiffs in general and one to test the handling of compressed indexes.