summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add 'dirs' target to the 'all' target to ensure that for e.g. the testsDavid Kalnischkies2011-08-171-1/+0
| | | | all (sub)directories are build which are needed (e.g. obj/ and co)
* move the list of versions to test with to the libapt subdirectoryDavid Kalnischkies2011-08-172-1/+1
|
* remove the interactive scratch test, it doesn't test much and whatDavid Kalnischkies2011-08-171-105/+0
| | | | | it tests is covered by your non-interactive testcases, so this one wasn't used for a looooong time
* replaced by the integration/test-compressed-indexes testDavid Kalnischkies2011-08-171-235/+0
|
* * 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)
* merge the tests for configuration into another libapt-testDavid Kalnischkies2011-08-175-72/+84
|
* support yet another webserver in the integration tests: gatlingDavid Kalnischkies2011-08-151-0/+5
|
* write a proper testcase replacing the print-only uri.cc testDavid Kalnischkies2011-08-155-41/+119
|
* 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
* * 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 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)
* | merge with debian-sid 0.8.15.2David Kalnischkies2011-07-141-0/+20
|\|
| * merged from debian-sidMichael Vogt2011-07-141-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:
| * | 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
|/
* 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
|
* do not change protected packages in autoinstall (Closes: #618848)David Kalnischkies2011-03-262-1/+33
|
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-03-261-0/+59
| | | | - use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-255-35/+35
| | | | | | - 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
* add a method to insert packages into dpkg's status fileDavid Kalnischkies2011-03-231-0/+23
|
* reorganize the marker methods a bit by moving the common part to aDavid Kalnischkies2011-03-201-1/+1
| | | | seperate IsModeChangeOk which checks sanity and dpkg holds
* enable buildsimplenativepackage to build packages for multipleDavid Kalnischkies2011-03-161-9/+13
| | | | | architectures in a row as it is needed for Multi-Arch:same that the shared files are the same