summaryrefslogtreecommitdiff
path: root/test/integration
AgeCommit message (Collapse)Author
2013-12-19fix apt-key net-update test to use the buildin webserverMichael Vogt
2013-12-13make apt-key net-update actually testableMichael Vogt
2013-12-12fix test/integration/test-apt-key-net-updateMichael Vogt
2013-12-12clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt
message instead of "ignoring"
2013-12-11fix test/integration/test-apt-key-net-update (code copy/DRY violation)Michael Vogt
2013-12-11improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt
2013-12-11add support for "apt-get source pkg:arch"Michael Vogt
2013-12-10user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt
pkg=version requests
2013-12-10fix typoMichael Vogt
2013-12-10improve test for #731853 and commentsMichael Vogt
2013-12-10if there is only deb-src pick higest version in deb-src release matchingMichael Vogt
2013-12-10Merge remote-tracking branch 'mvo/feature/deb-src-bts731102' into debian/sidMichael Vogt
2013-12-04add test for aptget source for unavailable packageMichael Vogt
2013-12-04further refactor, extract GetReleaseForSourceRecord() out of FindSrc(), ↵Michael Vogt
write out the selection notice to c1out to be consistent with the rest of the source
2013-12-04add test, deal with InReleaseMichael Vogt
2013-12-01cherry-pick ubuntus (disabled) net-update fixesDavid Kalnischkies
With the net-update command a special keyring can be downloaded and imported into apt, which must be signed by a master key. Its is currently disabled because of security problems with it – and the only known user before that was Ubuntu.
2013-11-30tests: add a webserverconfig method to abstract configDavid Kalnischkies
The URI to use to set a config option is a bit arcane to write/remember and checking if the setting was successful doubly so. Git-Dch: Ignore
2013-11-30tests: rm pkgcache.bin in 719263 testDavid Kalnischkies
As testcases are running really fast it can happen that files which are changed in reality are considered unchanged as the modify time isn't changed. What we could do is disable those caches by default, but some tests actually depend on those and deriving too much from the default by default (pun intended) is not a good idea for tests after all. Git-Dch: Ignore
2013-11-30tests: enhance https support in the testcasesDavid Kalnischkies
Git-Dch: Ignore
2013-11-29fix crash when SetCandidateRelease is usedMichael Vogt
2013-11-28add missing test/integration/test-bug-720597-build-dep-purgeMichael Vogt
2013-10-22Merge remote-tracking branch 'upstream/debian/sid' into ↵Michael Vogt
feature/install-progress-refactor Conflicts: apt-pkg/deb/dpkgpm.cc apt-pkg/makefile
2013-10-22fix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ↵Michael Vogt
ported from the mvo/feature/install-progress-refactor branch
2013-10-22test/integration/run-tests: output the failed test namesMichael Vogt
2013-10-22use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt
2013-10-21add APT::Status-deb822-FdMichael Vogt
2013-10-21restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt
2013-10-21fix apt output ordering and update test to match the new human friendly ↵Michael Vogt
messages that include the architecture
2013-10-18re-add missing APT::String::StripMichael Vogt
2013-10-18reshuffle dpkgpm.cc code a bit moreMichael Vogt
2013-10-18add $* to gdb to make it more usefulMichael Vogt
2013-10-18cleanupMichael Vogt
2013-10-15remove POSTINST from framework, file tree can be used for thisMichael Vogt
2013-10-15tests, do not send pkgname with arch via the status-fdMichael Vogt
2013-10-09fixup various UI issues in the testMichael Vogt
2013-10-09really fix testMichael Vogt
2013-10-09use "insertpackage" instead of "buildsimplenativepackage"Michael Vogt
2013-10-09add test for upgrade, upgrade --with-new-pkgs, dist-upgradeMichael Vogt
2013-10-03tests: install --no-install-recommends and stunnel4 for travisDavid Kalnischkies
stunnel4 is required for https tests Git-Dch: Ignore
2013-10-03test: use a multiarch capable dpkg rather than workaroundDavid Kalnischkies
The tests require nowadays a (somewhat) multiarch-capable dpkg, so replace the workaround as marked in the FIXME with a proper install as the workaround isn't working always correctly, letting the test fail. Git-Dch: Ignore
2013-10-03use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies
With a bit of trickery we can reuse the usual infrastructure we have in place to acquire deb files for the 'download' operation as well, which gains us authentification check & display, error messages, correct filenames and "downloads" from the root-owned archives.
2013-10-02tests: fix some problems travis encountersDavid Kalnischkies
Git-Dch: Ignore
2013-10-01don't consider holds for autoremovalDavid Kalnischkies
We can't remove packages which are held back by the user with a hold, so marking them (or its dependencies) as garbage will lead our autoremover into madness – and given that the package is important enough that the user has held it back it can't be garbage (at least at the moment), so even if a front-end wants to use the info just for information display its a good idea to not consider it garbage for them. Closes: 724995
2013-10-01handle complete responses to https range requestsDavid Kalnischkies
Servers might respond with a complete file either because they don't support Ranges at all or the If-Range condition isn't statisfied, so we have to parse the headers curl gets ourself to seek or truncate the file we have so far. This also finially adds the testcase testing a bunch of partial situations for both, http and https - which is now all green. Closes: 617643, 667699 LP: 1157943
2013-10-01retry without partial data after a 416 responseDavid Kalnischkies
If we get a 416 from the server it means the Range we asked for is above the real filesize of the file on the server. Mostly this happens if the server isn't supporting If-Range, but regardless of how we end up with the partial data, the data is invalid so we discard it and retry with a fresh plate and hope for the best. Old behavior was to consider 416 an error and retry with a different compression until we ran out of compression and requested the uncompressed file (which doesn't exist on most mirrors) with an accept line which server answered with "406 Not Acceptable". Closes: 710924
2013-09-26test: apt-get source with more than one argumentDavid Kalnischkies
Closes: 722549 Git-Dch: Ignore
2013-09-26print-uris prints regardless of quiet-level againDavid Kalnischkies
While the InstallPackages code was moved from apt-get into the private library the output was moved from (std::)cout to c1out which isn't shown in quiet level 2 (and above), so we flip back to std::cout to ensure that it is always printed as you are not going to use --print-uris if you don't want to see the uris… Closes: 722207
2013-09-26pkg from only trusted sources keeps being trustedDavid Kalnischkies
--allow-unauthenticated switches the download to a pre-0.6 system in which a package can come from any source, rather than that trusted packages can only come from trusted sources. To allow this the flag used to set all packages as untrusted, which is a bit much, so we check now if the package can be acquired via an untrusted source and only if this is the case set it as untrusted. As APT nowadays supports setting sources as trusted via a flag in the sources.list this mode shouldn't be used that much anymore though. [Note that this is not the patch from the BTS] Closes: 617690
2013-09-26don't strip :any from dependencies in single-archDavid Kalnischkies
The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586
2013-09-20do not trust FileFd::Eof() in pkgTagFile::Fill()David Kalnischkies
The Eof check was added (by me of course) in 0aae6d14390193e25ab6d0fd49295bd7b131954f as part of a fix up ~a month ago (at DebConf). The idea was not that bad, but doesn't make that much sense either as this bit is set by the FileFd based on Actual as well, so this is basically doing the same check again – with the difference that the HitEof bit can still linger from a previous Read we did at the end of the file, but have seek'd away from it now. Combined with the length of entries, entry order and other not that easily controllable conditions you can be 'lucky' enough to hit this problem in a way which even visible (truncating of other fields might not be visible easily, like 'Tags' and others). Closes: 723705 Thanks: Cyril Brulebois