summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/algorithms.cc:David Kalnischkies2010-11-293-0/+130
| | | | | - mark all installed packages first without auto installation in a dist-upgrade to prefer upgrading packages instead of installing new packages in versioned or-groups (Closes: #605394)
* * test/integration/test-compressed-indexes, test/test-indexes.sh:Martin Pitt2010-11-152-0/+2
| | | | | - 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.
* * apt-pkg/depcache.cc:David Kalnischkies2010-11-103-0/+117
| | | | - don't install previously not installed providers in a try to statisfy a "Breaks: provides" dependency by upgrade
* evaluate Acquire::Languages= before LANG= (Closes: #602573)David Kalnischkies2010-11-091-0/+18
|
* * apt-pkg/orderlist.cc:David Kalnischkies2010-11-061-2/+2
| | | | - try fixing before removing even if the fix is hidden in a provides, hidden in the #590438 testcase
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-11-061-0/+6
| | | - respect the none-force even in LANG=C (Closes: #602573)
* * apt-pkg/pkgcache.cc:David Kalnischkies2010-10-261-0/+91
| | | - fallback always to a suitable description (Closes: #601016)
* dpkg doesn't like underscores in versions anymore (=it fails) so ourDavid Kalnischkies2010-10-222-2/+1
| | | | behaviour can be undefined… (or at least can't be tested against dpkg)
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-10-211-51/+108
| | | | | | | - Add a FileFd::FileSize() method to get the size of the underlying file and not the size of the content in the file as FileFd::Size() does - the sizes can differ since the direct gzip integration * methods/{gzip,bzip2}.cc: - use FileSize() to determine if the file is invalid (Closes: #600852)
* add test case for having no indexes, and fix regression in that caseMartin Pitt2010-10-151-0/+8
|
* test/integration/framework: set proper dir::state::statusMichael Vogt2010-10-131-0/+1
|
* tests/integration/test-*: remove a bunch of "local" that are used outside ↵Michael Vogt2010-10-1311-11/+11
| | | | funtions (bash complains)
* * debian/apt.cron.daily:Michael Vogt2010-10-131-0/+2
|\ | | | | | | | | | | - source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions * fix test failure on amd64
| * merge fix for testrun on amd64Michael Vogt2010-10-131-0/+2
| |
* | * apt-pkg/depcache.cc:David Kalnischkies2010-10-023-0/+79
| | | | | | | | - do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
* | * apt-pkg/depcache.cc:David Kalnischkies2010-09-292-8/+56
| | | | | | | | - do not check endpointer packages instead of only those which prevented NeverAutoRemove settings from having an effect (Closes: #598452)
* | fix the testcases which were broken by the new space between number and unitDavid Kalnischkies2010-09-293-7/+7
| |
* | merged lp:~donkult/apt/sid Michael Vogt2010-09-154-1/+332
|\ \
| * | * apt-pkg/policy.cc:David Kalnischkies2010-09-143-1/+241
| | | | | | | | | | | | | | | | | | - support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
| * | add a simple testcase for the previously fixed bug 595691 to checkDavid Kalnischkies2010-09-091-0/+91
| | | | | | | | | | | | in future that APT plays considerable well with empty archives
* | | merged lp:~mvo/apt/conflicts-on-virtuals to better deal withMichael Vogt2010-09-153-0/+7772
|\ \ \ | |/ / |/| | conflicts/breaks against virtual packages (LP: #614993)
| * | add regression test for ubuntu bug 614993Michael Vogt2010-09-033-0/+7772
| | |
* | | * cmdline/apt-key:David Kalnischkies2010-09-041-0/+1
| |/ |/| | | | | - support also Dir::Etc::Trusted so that apt-key works in the same way as the library part which works with the trusted files
* | do the right thing(TM) even if the (unfinished) testcase is namedDavid Kalnischkies2010-09-021-2/+2
| | | | | | | | skip-* instead of test-* to avoid calling him with run-tests
* | show only the basename of the running testDavid Kalnischkies2010-09-021-3/+3
| |
* | set the quiet value for apt-cache so the tests will actually seeDavid Kalnischkies2010-09-021-1/+1
| | | | | | | | the notices as they will not be shown otherwise
* | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-09-021-2/+2
| | | | | | | | | | | | | | - create Dir::Log if needed to support /var/log as tmpfs or similar, inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239) Easily done by moving a private method from pkgAcquire into the public area of fileutl.cc to be able to use it also in here
* | add wrapper around dpkg to be able to use it easily in the testsDavid Kalnischkies2010-09-021-0/+7
|/
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2010-08-281-0/+31
| | | | - fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-08-215-15/+296
| | | | | | | - 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.
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-08-202-7/+101
| | | | | - use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
* sign the created Release files with our own dummy key "Joe Sixpack"David Kalnischkies2010-08-193-3/+12
|
* setup the environment correctly for dpkg, tooDavid Kalnischkies2010-08-181-6/+13
|
* extend the magic which creates the test archive by using FileLists toDavid Kalnischkies2010-08-181-28/+91
| | | | ship the build packages in the correct distribution and section
* add proper MSGLEVEL handling by overriding methods dynamicDavid Kalnischkies2010-08-181-5/+31
|
* implement the first round of automated dummy package building andDavid Kalnischkies2010-08-184-10/+125
| | | | archive building
* add finally my very small testcase for the conkeror problem resultingDavid Kalnischkies2010-08-153-0/+3219
| | | | in the FixByInstall code we currently "experiment" with
* fix testcase framework to test correctly for virtual packagesDavid Kalnischkies2010-08-141-4/+4
|
* add a small script to automate the task of creating Packages and statusDavid Kalnischkies2010-08-142-1/+38
| | | | files for tests with "real" problems
* remove the temporary compare files we createDavid Kalnischkies2010-07-291-0/+3
|
* configure also the replacement before remove by adding Immediate flagDavid Kalnischkies2010-07-293-15/+102
|
* * apt-pkg/orderlist.cc:David Kalnischkies2010-07-283-0/+191
| | | | - try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
* auto-install Packages and status file of the testcaseDavid Kalnischkies2010-07-281-2/+14
|
* Strip the .sh extension from the libapt testrunner andDavid Kalnischkies2010-07-251-5/+6
| | | | make it a bit more robust against calling from outside
* - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)David Kalnischkies2010-07-253-0/+229
| | | | * test/integration/*: - add with bug#590041 testcase a small test "framework"
* [ Martin Pitt ]David Kalnischkies2010-07-111-0/+226
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
| * test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the ↵martin@piware.de2010-06-241-1/+3
| | | | | | | | GzipIndexes option; not a big deal for now
| * test-indexes.sh: Test handling of local file:// archivesmartin@piware.de2010-06-241-3/+34
| |
| * test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵martin@piware.de2010-06-171-1/+2
| | | | | | | | package signatures
| * test-indexes.sh: Also test compressed index mode with apt.conf.d filemartin@piware.de2010-06-171-2/+27
| |