summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2011-07-28merged from debian-aptMichael Vogt
2011-07-28* merged latest fixes from debian-sidMichael Vogt
* 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
2011-07-27* apt-pkg/deb/deblistparser.cc:David Kalnischkies
- do not assume that the last char on a line is a \n (Closes: #633350)
2011-07-26merged from lp:~mvo/apt/mvoMichael Vogt
2011-07-26add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt
2011-07-26* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt
- add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
2011-07-25implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies
2011-07-25the order of languages after "none" is not important, so ignore it in testsDavid Kalnischkies
2011-07-25update the testcase to reflect that native is always on top ifDavid Kalnischkies
it is not in the config provided list of Architectures
2011-07-16* apt-pkg/policy.cc:David Kalnischkies
- emit an error on unknown APT::Default-Release value (Closes: #407511)
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt
2011-07-14merge with debian-sid 0.8.15.2David Kalnischkies
2011-07-14* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- add trusted=yes option to mark unsigned (local) repository as trusted based on a patch from Ansgar Burchardt, thanks a lot! (Closes: #596498) Note that "apt-get update" still warns about unknown signatures even when [trusted=yes] is given for the source.
2011-07-14merged from debian-sidMichael Vogt
2011-07-14make ResolveByKeep() more clever and hold back packages that would go into a ↵Michael Vogt
broken policy state by the upgrade
2011-07-13test that AddFD for single summations works, tooDavid Kalnischkies
2011-07-13move hash test to libapt-testcases and add a few more testsDavid Kalnischkies
2011-07-06* cmdline/apt-get.cc:David Kalnischkies
- restore all important dependencies for garbage packages (LP: #806274)
2011-06-30merged from debian-sidMichael Vogt
2011-06-30* doc/makefile:Michael Vogt
- 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:
2011-06-30allow package:architecure in Package:David Kalnischkies
2011-06-29 - ensure that only the first specific stanza for a package is usedDavid Kalnischkies
- save all stanzas which had no effect in Unmatched
2011-06-29* apt-pkg/policy.cc:David Kalnischkies
- do not segfault in pinning if a package with this name doesn't exist. Thanks to Ferdinand Thommes for the report!
2011-06-29merge lp:~mvo/apt/abi-breakMichael Vogt
2011-06-08merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt
2011-06-06* apt-pkg/indexcopy.cc:David Kalnischkies
- Verify that the first line of an InRelease file is a PGP header for a signed message. Otherwise a man-in-the-middle can prefix a valid InRelease file with his own data! (CVE-2011-1829)
2011-06-06add a very dumb pause method to stop test-executionDavid Kalnischkies
2011-05-23log reinstall commands in history.logDavid Kalnischkies
2011-05-17* cmdline/apt-get.cc:David Kalnischkies
- do not discard the error messages from the resolver and instead only show the general 'Broken packages' message if nothing else
2011-05-16* apt-pkg/packagemanager.cc:David Kalnischkies
- ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
2011-05-13rewrite new and previously satisfied important dependency detection inDavid Kalnischkies
MarkInstall to be a bit more easy to read and possibily a bit faster - and add a small testcase for these situations to ensure the same behaviour
2011-05-11if critical or-group can't be satisfied, exit directly.David Kalnischkies
2011-05-10dequote URL taken from Location in redirects as we will otherwiseDavid Kalnischkies
quote an already quoted string in the request later (Closes: #602412)
2011-04-27support lighttpd as test webserver but still prefer weborfDavid Kalnischkies
2011-04-26* test/versions.lst:David Kalnischkies
- disable obscure version number tests with versions dpkg doesn't allow any more as they don't start with a number
2011-04-21* cmdline/apt-mark.cc:David Kalnischkies
- reimplement apt-mark in c++
2011-04-21remove not existing packages left over from the testcaseDavid Kalnischkies
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies
Niels Thykier, thanks! (Closes: #622805)
2011-04-16* apt-pkg/depcache.cc:David Kalnischkies
- really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)
2011-04-15add sbin directories to PATH to avoid dpkg warningsDavid Kalnischkies
2011-04-15be able to set priorities for created test packagesDavid Kalnischkies
2011-03-26do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies
2011-03-26* apt-pkg/aptconfiguration.cc:David Kalnischkies
- use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
2011-03-25* apt-pkg/cacheiterator.h:David Kalnischkies
- return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
2011-03-23add a method to insert packages into dpkg's status fileDavid Kalnischkies
2011-03-20reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies
seperate IsModeChangeOk which checks sanity and dpkg holds
2011-03-16enable buildsimplenativepackage to build packages for multipleDavid Kalnischkies
architectures in a row as it is needed for Multi-Arch:same that the shared files are the same
2011-03-08Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies
Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
2011-02-25move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt
sha2_internal.{cc,h}
2011-02-22add sha512 interface based on sha2 by aaron giffordMichael Vogt