summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-10-22dpkg doesn't like underscores in versions anymore (=it fails) so ourDavid Kalnischkies
behaviour can be undefined… (or at least can't be tested against dpkg)
2010-10-21* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- 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)
2010-10-15add test case for having no indexes, and fix regression in that caseMartin Pitt
2010-10-13test/integration/framework: set proper dir::state::statusMichael Vogt
2010-10-13tests/integration/test-*: remove a bunch of "local" that are used outside ↵Michael Vogt
funtions (bash complains)
2010-10-13* debian/apt.cron.daily:Michael Vogt
- 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
2010-10-13merge fix for testrun on amd64Michael Vogt
2010-10-02* apt-pkg/depcache.cc:David Kalnischkies
- do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
2010-09-29* apt-pkg/depcache.cc:David Kalnischkies
- do not check endpointer packages instead of only those which prevented NeverAutoRemove settings from having an effect (Closes: #598452)
2010-09-29fix the testcases which were broken by the new space between number and unitDavid Kalnischkies
2010-09-15merged lp:~donkult/apt/sid Michael Vogt
2010-09-15merged lp:~mvo/apt/conflicts-on-virtuals to better deal withMichael Vogt
conflicts/breaks against virtual packages (LP: #614993)
2010-09-14* apt-pkg/policy.cc:David Kalnischkies
- 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
2010-09-09add a simple testcase for the previously fixed bug 595691 to checkDavid Kalnischkies
in future that APT plays considerable well with empty archives
2010-09-04* cmdline/apt-key:David Kalnischkies
- support also Dir::Etc::Trusted so that apt-key works in the same way as the library part which works with the trusted files
2010-09-03add regression test for ubuntu bug 614993Michael Vogt
2010-09-02do the right thing(TM) even if the (unfinished) testcase is namedDavid Kalnischkies
skip-* instead of test-* to avoid calling him with run-tests
2010-09-02show only the basename of the running testDavid Kalnischkies
2010-09-02set the quiet value for apt-cache so the tests will actually seeDavid Kalnischkies
the notices as they will not be shown otherwise
2010-09-02* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- 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
2010-09-02add wrapper around dpkg to be able to use it easily in the testsDavid Kalnischkies
2010-08-28* apt-pkg/contrib/configuration.cc:David Kalnischkies
- fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
2010-08-21* apt-pkg/acquire-item.cc:David Kalnischkies
- 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.
2010-08-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
2010-08-19sign the created Release files with our own dummy key "Joe Sixpack"David Kalnischkies
2010-08-18setup the environment correctly for dpkg, tooDavid Kalnischkies
2010-08-18extend the magic which creates the test archive by using FileLists toDavid Kalnischkies
ship the build packages in the correct distribution and section
2010-08-18add proper MSGLEVEL handling by overriding methods dynamicDavid Kalnischkies
2010-08-18implement the first round of automated dummy package building andDavid Kalnischkies
archive building
2010-08-15add finally my very small testcase for the conkeror problem resultingDavid Kalnischkies
in the FixByInstall code we currently "experiment" with
2010-08-14fix testcase framework to test correctly for virtual packagesDavid Kalnischkies
2010-08-14add a small script to automate the task of creating Packages and statusDavid Kalnischkies
files for tests with "real" problems
2010-07-29remove the temporary compare files we createDavid Kalnischkies
2010-07-29configure also the replacement before remove by adding Immediate flagDavid Kalnischkies
2010-07-28* apt-pkg/orderlist.cc:David Kalnischkies
- try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
2010-07-28auto-install Packages and status file of the testcaseDavid Kalnischkies
2010-07-25Strip the .sh extension from the libapt testrunner andDavid Kalnischkies
make it a bit more robust against calling from outside
2010-07-25 - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)David Kalnischkies
* test/integration/*: - add with bug#590041 testcase a small test "framework"
2010-07-11[ Martin Pitt ]David Kalnischkies
* 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.
2010-07-05extends the ParseDepends testcase to have a look also at the WildcardsDavid Kalnischkies
2010-06-25add a simple stack handling to be able to delay error handlingDavid Kalnischkies
2010-06-24test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the ↵martin@piware.de
GzipIndexes option; not a big deal for now
2010-06-24test-indexes.sh: Test handling of local file:// archivesmartin@piware.de
2010-06-17test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵martin@piware.de
package signatures
2010-06-17test-indexes.sh: Also test compressed index mode with apt.conf.d filemartin@piware.de
2010-06-17test-indexes.sh: Just for paranoia, test that apt-cache is still working ↵martin@piware.de
after apt-get update with previously existing indexes
2010-06-17test-indexes.sh: fix check_indexes call in compressed modemartin@piware.de
2010-06-17test-indexes.sh: Actually test for non/pre-existing indexes in compressed modemartin@piware.de
2010-06-17test-indexes: Use /etc/apt from temporary work dir, not from systemmartin@piware.de
2010-06-17test-indexes.sh: Refactor common code into functionsmartin@piware.de