summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2011-08-12lots of cppcheck fixesMichael Vogt
2011-08-12cherry pick test/integration/Packages-hashsum-verification addition from ↵Michael Vogt
lp:~mvo/apt/mvo
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-08-05* apt-pkg/acquire-item.cc:Michael Vogt
- if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test
2011-08-05* test/integration/test-hashsum-verification:Michael Vogt
- add regression test for hashsum verification
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-14merge with debian-sid 0.8.15.2David Kalnischkies
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-06* cmdline/apt-get.cc:David Kalnischkies
- restore all important dependencies for garbage packages (LP: #806274)
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-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-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-22test the xz compressor, tooDavid Kalnischkies
2011-02-22* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies
- support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
2011-02-22* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies
- support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
2011-02-16merged from donkult and fix dashishMichael Vogt
2011-02-15* cmdline/apt-get.cc:David Kalnischkies
- don't remove new dependencies of garbage packages (Closes: #613420)
2011-02-15test/integration/: remove a bunch of "local" statements from the ↵Michael Vogt
shellscript, keep tests running even on failure but log failures
2011-02-15* apt-pkg/contrib/error.cc:David Kalnischkies
- ensure that va_list is not invalid in second try