summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2012-04-05For cross-build-dependencies, Architecture: all packages should beSteve Langasek
treated as implicitly Multi-Arch: foreign, because either they *are* M-A: foreign when used as a build-dependency, or they need to be updated to not be Architecture: all; and since cross-build-deps are new functionality in apt, we can safely make this change without breaking existing systems. Closes: #666772.
2012-03-13cherry pick r2226Michael Vogt
2012-03-13cherry pick 2217.1.22Michael Vogt
2012-03-06* merged from the debian-sid branch, most notably:Michael Vogt
- Correct fi translation for hash sum mismatches (LP: #420403) - remove 'old' InRelease file if we can't get a new one before proceeding with Release.gpg to avoid the false impression of a still trusted repository by a (still present) old InRelease file. Thanks to Simon Ruderich for reporting this issue! (CVE-2012-0214) * apt-pkg/acquire-item.cc: - remove 'old' InRelease file if we can't get a new one before proceeding with Release.gpg to avoid the false impression of a still trusted repository by a (still present) old InRelease file. Thanks to Simon Ruderich for reporting this issue! (CVE-2012-0214) * French: replace "étiquetage" by "épinglage" for "pinning"
2012-03-06* apt-pkg/acquire-item.cc:Michael Vogt
- remove 'old' InRelease file if we can't get a new one before proceeding with Release.gpg to avoid the false impression of a still trusted repository by a (still present) old InRelease file. Thanks to Simon Ruderich for reporting this issue! (CVE-2012-0214)
2012-01-30merged from lp:~mvo/apt/mvo (and lp:~donkult/apt/experimental)Michael Vogt
2012-01-30* apt-pkg/contrib/configuration.cc:David Kalnischkies
- do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too.
2012-01-29* apt-pkg/depcache.cc:David Kalnischkies
- if a M-A:same package is marked for reinstall, mark all it's installed silbings for reinstallation as well (LP: #859188)
2012-01-29add the testcase i wrote for revno 2209.1.2, to ensure that breaks onDavid Kalnischkies
not-installed versions are ignored while searching for breakage loops
2012-01-29add a very simple testcases for the previous commited fix forDavid Kalnischkies
Breaks handling in algorithms.cc by Colin Watson
2012-01-29* cmdline/apt-get.cc:Steve Langasek
- for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
2012-01-28Multi-Arch: none build-deps should be DEB_HOST_ARCH, not DEB_BUILD_ARCH.Steve Langasek
Closes: #646288.
2012-01-28Multi-Arch: none build-deps should be DEB_HOST_ARCH, not DEB_BUILD_ARCH.Steve Langasek
Closes: #646288.
2012-01-24merged from experimentalMichael Vogt
2012-01-20* test/libapt/run-tests:David Kalnischkies
- hurd doesn't have dmesg yet and we don't really need it either, so use with $0 a more stable data source for hashsumming
2012-01-20* test/libapt/globalerror_test.cc:Pino Toscano
- errno 0 has a different strerror on hurd, so generate the expected message dynamically instead of hardcoding 'Success' (Closes: #656530)
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies
- return the correct version arch for all+foreign, too The flag is interpreted at a few other places in different styles so this commit ensures that the flag check is consistent everywhere (checking for Same in flag style is a bit too much as it isn't used in combination with others anyway, but who knows and just for consistency)
2012-01-19if multi-arch is detected ensure that pkg:all is reported as pkg:allDavid Kalnischkies
Versions with arch:all are added to the package with the native arch, so we can't rely on Pkg.Arch() for the architecture
2012-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- redirect out/input of dpkg --assert-multi-arch to /dev/null
2012-01-19merged from the debian-experimental2 branchMichael Vogt
2012-01-18* apt-pkg/aptconfiguration.cc:Michael Vogt
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too. (Closes: #655590) * Slovak (Ivan Masar). Closes: #652985 * Russian (Yuri Kozlov). Closes: #654844 * Hungarian (Gabor Kelemen). Closes: #655238
2012-01-16merged from donkultMichael Vogt
2012-01-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
2012-01-13* apt-pkg/pkgcache.cc:David Kalnischkies
- ignore implicit conflicts on providers in AllTarget, too
2012-01-13merged from lp:~donkult/apt/experimental Michael Vogt
2012-01-11* apt-pkg/depcache.cc:David Kalnischkies
- implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
2011-12-19merged from debian-experimental2Michael Vogt
2011-12-14* apt-pkg/aptconfiguration.cc:David Kalnischkies
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too.
2011-12-11use different compression types in the test now that we support themDavid Kalnischkies
2011-12-11add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies
Unfortunately it's hard to do an automated integration test with cd, so we test this method in isolation which tries to find Indexes and dropping of duplications with DropRepeats()
2011-11-30ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies
(the execution leads to hard failures anyway)
2011-11-23merged from debian-experimentalMichael Vogt
2011-11-23* cmdline/apt-get.cc:David Kalnischkies
- ignore foreign architectures if we check if a provides has only one resolver as it's basically the same for the user, so no need to choose
2011-11-23* apt-pkg/depcache.cc:David Kalnischkies
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures
2011-11-11 - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies
* cmdline/apt-{get,cache,mark}.cc: - use Lists instead of Sets if input order should be preserved for commands accepting lists of packages, e.g. policy (Closes: #625960)
2011-11-10merged from lp:~mvo/apt/mvo (that has all the changes from ↵Michael Vogt
debian-experimental2) and resolved a bunch of conflicts
2011-10-30merge with my debian-sid branchDavid Kalnischkies
2011-10-17create "real" testcases out of the tests for chrisDavid Kalnischkies
2011-10-14cherry pick -r 2184.1.15..2184.1.18 from debian-experimental2Michael Vogt
2011-10-11share description list between "same" versions (LP: #868977)David Kalnischkies
2011-10-11run apt-get download in quiet mode as it messes with output otherwiseDavid Kalnischkies
2011-10-11run integration tests on my new amd64 box without failuresDavid Kalnischkies
2011-10-11fix compiler warning about signed comparision on amd64, tooDavid Kalnischkies
2011-10-05cherrypick from my apt/experimental branchDavid Kalnischkies
* apt-pkg/deb/debmetaindex.cc: - none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-05* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-04test/integration/test-apt-key-net-update: improve test to test for empty ↵Michael Vogt
keyring/correct keys
2011-10-04export/import keys one-by-oneMichael Vogt
2011-10-04* apt-pkg/policy.cc:David Kalnischkies
- accept generic release pin expressions again in -t (Closes: #644166)
2011-09-27fix apt-key net-update by erroring out if there are any duplicated keys in ↵Michael Vogt
master-keyring and add-keyring (see lp #857472) and add regression test
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies