summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2011-09-09M-A:same lockstep unpack should operate on installedDavid Kalnischkies3-10/+41
packages first (LP: #835625)
2011-09-09fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies4-10/+20
2011-09-05 - add an Acquire::Min-ValidTime option (Closes: #640122)David Kalnischkies1-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
2011-09-05* apt-pkg/indexrecords.cc:David Kalnischkies2-13/+84
- fix Acquire::Max-ValidTime option by interpreting it really as seconds as specified in the manpage and not as days
2011-08-22remove the caches in 'apt-get update', too, as they will beDavid Kalnischkies9-22/+8
invalid in most cases anyway
2011-08-17set the msglevel to a high dummy value if none is specifiedDavid Kalnischkies1-0/+4
2011-08-17for consistency allow the usage of 'make test' instead of './run-tests'David Kalnischkies3-7/+16
2011-08-17fix 'comparison between signed and unsigned integer expressions' warningDavid Kalnischkies1-2/+1
in the udevcdrom testcase
2011-08-17do not output color in the testcases if stdout/stderr are not a /dev/ptsDavid Kalnischkies3-20/+48
2011-08-17build test-binaries by default and add a test target to toplevelDavid Kalnischkies1-0/+21
2011-08-17fix the compareversion test to work then called from outside of libaptDavid Kalnischkies2-2/+7
2011-08-17the experimental branch has a better version of this test in libapt,David Kalnischkies1-70/+0
so remove it now - we will get it back at merge-time with experimental
2011-08-17remove fake-status leftover from the python-testDavid Kalnischkies1-16/+0
2011-08-17move the networkless test to the interactive helpers as it needsDavid Kalnischkies3-0/+0
root rights for operation (ifup/down, iptables) so it is better run under supervision
2011-08-17remove the python testcases as this is covered by integration/David Kalnischkies31-1594/+0
2011-08-17move the interactive helper to a subdirectory of testDavid Kalnischkies7-16/+3
2011-08-17add 'dirs' target to the 'all' target to ensure that for e.g. the testsDavid Kalnischkies1-1/+0
all (sub)directories are build which are needed (e.g. obj/ and co)
2011-08-17move the list of versions to test with to the libapt subdirectoryDavid Kalnischkies2-1/+1
2011-08-17remove the interactive scratch test, it doesn't test much and whatDavid Kalnischkies1-105/+0
it tests is covered by your non-interactive testcases, so this one wasn't used for a looooong time
2011-08-17replaced by the integration/test-compressed-indexes testDavid Kalnischkies1-235/+0
2011-08-17* apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:David Kalnischkies1-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)
2011-08-17merge the tests for configuration into another libapt-testDavid Kalnischkies5-72/+84
2011-08-15support yet another webserver in the integration tests: gatlingDavid Kalnischkies1-0/+5
2011-08-15write a proper testcase replacing the print-only uri.cc testDavid Kalnischkies5-41/+119
2011-08-12lots of cppcheck fixesMichael Vogt5-22/+9
2011-08-12cherry pick test/integration/Packages-hashsum-verification addition from ↵Michael Vogt1-0/+18
lp:~mvo/apt/mvo
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies5-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.
2011-08-05* apt-pkg/acquire-item.cc:Michael Vogt1-0/+7
- 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 Vogt1-0/+76
- add regression test for hashsum verification
2011-07-27* apt-pkg/deb/deblistparser.cc:David Kalnischkies1-0/+27
- do not assume that the last char on a line is a \n (Closes: #633350)
2011-07-26merged from lp:~mvo/apt/mvoMichael Vogt2-0/+52
2011-07-26add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt1-0/+6
2011-07-26* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt2-0/+46
- 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 Kalnischkies2-0/+205
2011-07-25the order of languages after "none" is not important, so ignore it in testsDavid Kalnischkies2-6/+40
2011-07-25update the testcase to reflect that native is always on top ifDavid Kalnischkies1-0/+6
it is not in the config provided list of Architectures
2011-07-16* apt-pkg/policy.cc:David Kalnischkies2-3/+67
- emit an error on unknown APT::Default-Release value (Closes: #407511)
2011-07-14merge with debian-sid 0.8.15.2David Kalnischkies1-0/+20
2011-07-14merged from debian-sidMichael Vogt1-0/+72
2011-07-14make ResolveByKeep() more clever and hold back packages that would go into a ↵Michael Vogt1-0/+20
broken policy state by the upgrade
2011-07-06* cmdline/apt-get.cc:David Kalnischkies1-0/+81
- restore all important dependencies for garbage packages (LP: #806274)
2011-06-30* doc/makefile:Michael Vogt1-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:
2011-06-30allow package:architecure in Package:David Kalnischkies1-0/+15
2011-06-29 - ensure that only the first specific stanza for a package is usedDavid Kalnischkies1-1/+14
- save all stanzas which had no effect in Unmatched
2011-06-29* apt-pkg/policy.cc:David Kalnischkies1-0/+44
- 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 Kalnischkies1-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)
2011-06-06add a very dumb pause method to stop test-executionDavid Kalnischkies1-0/+6
2011-05-23log reinstall commands in history.logDavid Kalnischkies1-0/+6
2011-05-16* apt-pkg/packagemanager.cc:David Kalnischkies1-0/+32
- 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 Kalnischkies1-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