summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-1373-2158/+500
|\ \ \
| * | | 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-173-7/+16
| | | |
| * | | fix 'comparison between signed and unsigned integer expressions' warningDavid Kalnischkies2011-08-171-2/+1
| | | | | | | | | | | | | | | | in the udevcdrom testcase
| * | | do not output color in the testcases if stdout/stderr are not a /dev/ptsDavid Kalnischkies2011-08-173-20/+48
| | | |
| * | | build test-binaries by default and add a test target to toplevelDavid Kalnischkies2011-08-171-0/+21
| | | |
| * | | fix the compareversion test to work then called from outside of libaptDavid Kalnischkies2011-08-172-2/+7
| | | |
| * | | the experimental branch has a better version of this test in libapt,David Kalnischkies2011-08-171-70/+0
| | | | | | | | | | | | | | | | so remove it now - we will get it back at merge-time with experimental
| * | | remove fake-status leftover from the python-testDavid Kalnischkies2011-08-171-16/+0
| | | |
| * | | move the networkless test to the interactive helpers as it needsDavid Kalnischkies2011-08-173-0/+0
| | | | | | | | | | | | | | | | | | | | root rights for operation (ifup/down, iptables) so it is better run under supervision
| * | | remove the python testcases as this is covered by integration/David Kalnischkies2011-08-1731-1594/+0
| | | |
| * | | move the interactive helper to a subdirectory of testDavid Kalnischkies2011-08-177-16/+3
| | | |
| * | | 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
| | | |
* | | | 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