summaryrefslogtreecommitdiff
path: root/test/integration
Commit message (Collapse)AuthorAgeFilesLines
* fix the hold-testcase as it has problems with 'foreign' operationsDavid Kalnischkies2012-02-114-81/+16
|
* Fix the testcases to work with and configure dpkg correctly in aDavid Kalnischkies2012-02-102-23/+64
| | | | | | | | | multi-arch environment It's not a complete and the "fixed" test is fixed more like a hack as we have communication problems with dpkg if dpkg and APT disagree on the interpretation of the native architecture, see also: http://lists.debian.org/debian-dpkg/2012/02/msg00051.html
* * apt-pkg/depcache.cc:David Kalnischkies2012-01-291-0/+28
| | | | - if a M-A:same package is marked for reinstall, mark all it's installed silbings for reinstallation as well (LP: #859188)
* add the testcase i wrote for revno 2209.1.2, to ensure that breaks onDavid Kalnischkies2012-01-291-0/+56
| | | | not-installed versions are ignored while searching for breakage loops
* add a very simple testcases for the previous commited fix forDavid Kalnischkies2012-01-291-0/+51
| | | | Breaks handling in algorithms.cc by Colin Watson
* * cmdline/apt-get.cc:Steve Langasek2012-01-291-24/+63
| | | | | - for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
* * apt-pkg/cacheiterators.h:David Kalnischkies2012-01-192-6/+25
| | | | | | | | | - 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)
* if multi-arch is detected ensure that pkg:all is reported as pkg:allDavid Kalnischkies2012-01-191-0/+24
| | | | Versions with arch:all are added to the package with the native arch, so we can't rely on Pkg.Arch() for the architecture
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2012-01-191-2/+10
| | | - redirect out/input of dpkg --assert-multi-arch to /dev/null
* * apt-pkg/aptconfiguration.cc:Michael Vogt2012-01-181-0/+18
|\ | | | | | | | | | | | | | | - 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
| * * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-12-141-0/+18
| | | | | | | | - parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too.
* | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2012-01-131-0/+53
| | | | | | | | - check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
* | * apt-pkg/pkgcache.cc:David Kalnischkies2012-01-131-3/+19
| | | | | | - ignore implicit conflicts on providers in AllTarget, too
* | * apt-pkg/depcache.cc:David Kalnischkies2012-01-111-0/+40
| | | | | | | | - implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
* | ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies2011-11-301-1/+1
| | | | | | | | (the execution leads to hard failures anyway)
* | * cmdline/apt-get.cc:David Kalnischkies2011-11-231-0/+22
| | | | | | | | - 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
* | * apt-pkg/depcache.cc:David Kalnischkies2011-11-231-0/+128
| | | | | | | | | | | | | | | | - 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
* | - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies2011-11-111-13/+13
| | | | | | | | | | * 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)
* | merge with my debian-sid branchDavid Kalnischkies2011-10-302-10/+71
|\|
| * cherrypick from my apt/experimental branchDavid Kalnischkies2011-10-051-0/+87
| | | | | | | | | | | | * 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)
| * * apt-pkg/policy.cc:David Kalnischkies2011-10-041-2/+21
| | | | | | - accept generic release pin expressions again in -t (Closes: #644166)
| * update the test to ensure that NotAutomatic and co is used alsoDavid Kalnischkies2011-09-151-8/+50
| | | | | | | | | | if the archive is signed, but the signature can't be checked as the key is missing (debbugs #597301 - fix in r2105)
* | create "real" testcases out of the tests for chrisDavid Kalnischkies2011-10-173-23/+26
| |
* | share description list between "same" versions (LP: #868977)David Kalnischkies2011-10-111-1/+33
| |
* | run apt-get download in quiet mode as it messes with output otherwiseDavid Kalnischkies2011-10-111-6/+5
| |
* | run integration tests on my new amd64 box without failuresDavid Kalnischkies2011-10-116-32/+35
| |
* | * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2011-10-051-0/+87
| | | | | | | | | | - 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)
* | enable APT in unpack/configure ordering to handle loops as wellDavid Kalnischkies2011-09-144-1/+95
|\ \ | | | | | | | | | | | | as tight dependencies between immediate packages better enabling also the possibility to mark all packages as immediate (at least Closes: #353290, #540227, #559733, #621836, #639290)
| * | Added test for conflicts loopChristopher Baines2011-07-131-0/+18
| | |
| * | [ David Kalnischkies ]Christopher Baines2011-07-052-0/+78
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/makefile: - create doxygen directory to avoid depending on magic (Closes: #628799) * cmdline/apt-key: - explicitly state that net-update is not supported if no url is set - require to be root for add, rm, update and net-update - clarify update vs. net-update in different distros (Closes: #632043) * debian/apt.symbols: - forgot 'mips' in the list for all architecture dependent symbols - comment out gcc-4.5 specific symbols as gcc-4.6 is now default - the symbol for PrintStatus() is architecture dependent * apt-pkg/policy.cc: - do not segfault in pinning if a package with this name doesn't exist. Thanks to Ferdinand Thommes for the report! - Defaults is a vector of Pin not of PkgPin - ensure that only the first specific stanza for a package is used - save all stanzas which had no effect in Unmatched - allow package:architecure in Package: - remove invalid pkgcache.bin and rebuild it if possible - log reinstall commands in history.log * apt-pkg/init.cc: - don't set deprecated APT::Acquire::Translation, thanks Jörg Sommer! * cmdline/apt-config.cc: - show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739) * apt-pkg/orderlist.cc: - ensure that an old version of a package with a provides can never satisfy a dependency of a newer version of this package [ Michael Vogt ] * methods/mirror.cc: - ignore lines starting with "#" in the mirror file - ignore non http urls in the mirrors - append the dist (e.g. sid, wheezy) as a query string when asking for a suitable mirror * apt-pkg/deb/deblistparser.cc: - include all known languages when building the apt cache (LP: #794907) * apt-pkg/deb/debindexfile.cc: - remove some no longer valid checks for "TranslationsAvailable()" [ Kenneth Solbø Andersen ] * apt-pkg/deb/dpkgpm.cc: - set permissions of term.log to root.adm and 644 (LP: #404724) [ Chris Leick ] * various typo and syntax corrections in doc/*.xml [Chris Baines] * Began to fix DepAdd for imediate configuration of all packages
| * | | Removed some debug stuff, corrected the VerifyConfigure calls to ↵Christopher Baines2011-07-052-0/+63
| | | | | | | | | | | | | | | | VerifyAndConfigure
* | | | merge with debian/sidDavid Kalnischkies2011-09-1318-68/+249
|\ \ \ \ | | |_|/ | |/| |
| * | | M-A:same lockstep unpack should operate on installedDavid Kalnischkies2011-09-093-10/+41
| | | | | | | | | | | | packages first (LP: #835625)
| * | | fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies2011-09-094-10/+20
| | | |
| * | | - add an Acquire::Min-ValidTime option (Closes: #640122)David Kalnischkies2011-09-051-0/+24
| | | | | | | | | | | | | | | | | | | | * doc/apt.conf.5.xml: - reword Acquire::Max-ValidTime documentation to make clear that it doesn't provide the new Min-ValidTime functionality
| * | | * apt-pkg/indexrecords.cc:David Kalnischkies2011-09-052-13/+84
| | | | | | | | | | | | | | | | - fix Acquire::Max-ValidTime option by interpreting it really as seconds as specified in the manpage and not as days
| * | | remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies2011-08-229-22/+8
| | | | | | | | | | | | invalid in most cases anyway
| * | | set the msglevel to a high dummy value if none is specifiedDavid Kalnischkies2011-08-171-0/+4
| | | |
| * | | for consistency allow the usage of 'make test' instead of './run-tests'David Kalnischkies2011-08-171-0/+10
| | | |
| * | | do not output color in the testcases if stdout/stderr are not a /dev/ptsDavid Kalnischkies2011-08-172-15/+31
| | | |
| * | | * apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:David Kalnischkies2011-08-171-0/+24
| | | | | | | | | | | | | | | | | | | | - ignore "self"-conflicts for all architectures of a package instead of just for the architecture of the package locked at in the ordering of installations too (Closes: #802901)
| * | | support yet another webserver in the integration tests: gatlingDavid Kalnischkies2011-08-151-0/+5
| | | |
* | | | merged from the debian-sid branchMichael Vogt2011-08-152-0/+101
|\| | |
| * | | cherry pick test/integration/Packages-hashsum-verification addition from ↵Michael Vogt2011-08-121-0/+18
| | | | | | | | | | | | | | | | lp:~mvo/apt/mvo
| * | | * apt-pkg/acquire-item.cc:Michael Vogt2011-08-051-0/+7
| | | | | | | | | | | | | | | | - if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test
| * | | * test/integration/test-hashsum-verification:Michael Vogt2011-08-051-0/+76
| | | | | | | | | | | | - add regression test for hashsum verification
* | | | merged from debian-aptMichael Vogt2011-07-281-0/+27
|\| | |
| * | | * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-271-0/+27
| | | | | | | | | | | | - do not assume that the last char on a line is a \n (Closes: #633350)
* | | | * merged latest fixes from debian-sidMichael Vogt2011-07-283-3/+272
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/contrib/sha1.cc: - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) * apt-pkg/contrib/cdromutl.cc: - fix escape problem when looking for the mounted devices * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc: - add new DeEscapeString() similar to DeQuoteString but unescape character escapes like \0XX and \xXX (plus added test) * refresh po/* * cmdline/apt-get.cc: - fix missing download progress in apt-get download - do not require unused partial dirs in 'source' (Closes: #633510) - buildconflicts effect all architectures - implement MultiarchCross for build-dep and source (Closes: #632221) * cmdline/apt-key: - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596) * debian/apt.postinst: - remove /etc/apt/secring.gpg if it is an empty file * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) * apt-pkg/policy.cc: - emit an error on unknown APT::Default-Release value (Closes: #407511) * apt-pkg/aptconfiguration.cc: - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector * apt-pkg/deb/deblistparser.cc: - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
| * | | implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies2011-07-252-0/+205
| | | |