summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-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
2010-06-17test-indexes.sh: More verbose failures on wrong/missing indexesmartin@piware.de
2010-06-15test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first ↵martin@piware.de
failed apt-get update output
2010-06-11test-indexes.sh: Add source related tests, which uncovers two regressionsmartin@piware.de
2010-06-10* Add test/test-indexes.sh:martin@piware.de
- Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes.
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
2010-06-09 - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies
branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
2010-06-08* apt-pkg/indexrecords.cc:David Kalnischkies
- backport forgotten Valid-Until patch from the obsolete experimental branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897)
2010-05-28create the bin-test directory automatic in the runnerDavid Kalnischkies
2010-05-28* apt-pkg/aptconfiguration.cc:David Kalnischkies
- remove duplicate architectures in getArchitectures()
2010-05-04merged from davids branchMichael Vogt
2010-05-04merged from the debian-sid branchMichael Vogt
2010-05-04merge from the mvo branchMichael Vogt