summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* merged from the debian-sid branchMichael Vogt2011-08-157-22/+110
|\
| * lots of cppcheck fixesMichael Vogt2011-08-125-22/+9
| |\
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-115-22/+9
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
| * | 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
* | test/libapt/hashsums_test.cc: add a test for HashString and VerifyFileMichael Vogt2011-07-291-0/+15
| |
* | 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-288-9/+370
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * merged from lp:~mvo/apt/mvoMichael Vogt2011-07-262-0/+52
| |\
| | * add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt2011-07-261-0/+6
| | |
| | * * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt2011-07-262-0/+46
| | | | | | | | | | | | - add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
| * | implement MultiarchCross for build-dep and source (Closes: #632221)David Kalnischkies2011-07-252-0/+205
| | |
| * | the order of languages after "none" is not important, so ignore it in testsDavid Kalnischkies2011-07-252-6/+40
| | |
| * | update the testcase to reflect that native is always on top ifDavid Kalnischkies2011-07-251-0/+6
| | | | | | | | | | | | it is not in the config provided list of Architectures
| * | * apt-pkg/policy.cc:David Kalnischkies2011-07-162-3/+67
| | | | | | | | | - emit an error on unknown APT::Default-Release value (Closes: #407511)
* | | merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt2011-07-154-0/+138
|\| |
| * | merge with debian-sid 0.8.15.2David Kalnischkies2011-07-141-0/+20
| |\|
| | * merged from debian-sidMichael Vogt2011-07-141-0/+72
| | |\
| | * | make ResolveByKeep() more clever and hold back packages that would go into a ↵Michael Vogt2011-07-141-0/+20
| | | | | | | | | | | | | | | | broken policy state by the upgrade
| * | | * cmdline/apt-get.cc:David Kalnischkies2011-07-061-0/+81
| | | | | | | | | | | | - restore all important dependencies for garbage packages (LP: #806274)
| * | | allow package:architecure in Package:David Kalnischkies2011-06-301-0/+15
| | | |
| * | | - ensure that only the first specific stanza for a package is usedDavid Kalnischkies2011-06-291-1/+14
| | | | | | | | | | | | - save all stanzas which had no effect in Unmatched
| * | | * apt-pkg/policy.cc:David Kalnischkies2011-06-291-0/+44
| | | | | | | | | | | | | | | | - do not segfault in pinning if a package with this name doesn't exist. Thanks to Ferdinand Thommes for the report!
| * | | * apt-pkg/indexcopy.cc:David Kalnischkies2011-06-061-0/+31
| | | | | | | | | | | | | | | | | | | | - 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)
| * | | add a very dumb pause method to stop test-executionDavid Kalnischkies2011-06-061-0/+6
| |/ /
* | | * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2011-07-141-0/+47
| | | | | | | | | | | | | | | | | | | | | - 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.
* | | test that AddFD for single summations works, tooDavid Kalnischkies2011-07-131-9/+34
| | |
* | | move hash test to libapt-testcases and add a few more testsDavid Kalnischkies2011-07-134-82/+129
| | |
* | | merged from debian-sidMichael Vogt2011-06-301-0/+72
|\ \ \ | | |/ | |/|
| * | * doc/makefile:Michael Vogt2011-06-301-0/+72
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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:
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-293-10/+22
|\ \ | |/ |/|
| * merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-081-7/+19
| |\
| | * move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2011-02-251-2/+1
| | | | | | | | | | | | sha2_internal.{cc,h}
| | * add sha512 interface based on sha2 by aaron giffordMichael Vogt2011-02-221-6/+19
| | |
| * | * cmdline/apt-get.cc:David Kalnischkies2011-05-172-3/+3
| | | | | | | | | | | | - do not discard the error messages from the resolver and instead only show the general 'Broken packages' message if nothing else
* | | log reinstall commands in history.logDavid Kalnischkies2011-05-231-0/+6
|/ /
* | * apt-pkg/packagemanager.cc:David Kalnischkies2011-05-161-0/+32
| | | | | | | | - ensure for Multi-Arch:same packages that they are unpacked in lock step even in immediate configuration (Closes: #618288)
* | rewrite new and previously satisfied important dependency detection inDavid Kalnischkies2011-05-131-0/+172
| | | | | | | | | | 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
* | if critical or-group can't be satisfied, exit directly.David Kalnischkies2011-05-111-0/+108
| |
* | dequote URL taken from Location in redirects as we will otherwiseDavid Kalnischkies2011-05-101-0/+36
| | | | | | quote an already quoted string in the request later (Closes: #602412)
* | support lighttpd as test webserver but still prefer weborfDavid Kalnischkies2011-04-271-6/+15
| |
* | * test/versions.lst:David Kalnischkies2011-04-261-6/+6
| | | | | | | | - disable obscure version number tests with versions dpkg doesn't allow any more as they don't start with a number
* | * cmdline/apt-mark.cc:David Kalnischkies2011-04-211-1/+1
| | | | | | - reimplement apt-mark in c++
* | remove not existing packages left over from the testcaseDavid Kalnischkies2011-04-211-3/+3
| |
* | fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-161-2/+5
| | | | | | Niels Thykier, thanks! (Closes: #622805)
* | * apt-pkg/depcache.cc:David Kalnischkies2011-04-161-0/+38
| | | | | | | | - really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)
* | add sbin directories to PATH to avoid dpkg warningsDavid Kalnischkies2011-04-151-0/+1
| |
* | be able to set priorities for created test packagesDavid Kalnischkies2011-04-151-21/+30
| |