summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2012-01-29add a very simple testcases for the previous commited fix forDavid Kalnischkies
Breaks handling in algorithms.cc by Colin Watson
2012-01-29* cmdline/apt-get.cc:Steve Langasek
- for cross-build-dependencies M-A: none should be DEB_HOST_ARCH, not DEB_BUILD_ARCH (Closes: #646288)
2012-01-20* test/libapt/run-tests:David Kalnischkies
- hurd doesn't have dmesg yet and we don't really need it either, so use with $0 a more stable data source for hashsumming
2012-01-20* test/libapt/globalerror_test.cc:Pino Toscano
- errno 0 has a different strerror on hurd, so generate the expected message dynamically instead of hardcoding 'Success' (Closes: #656530)
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies
- return the correct version arch for all+foreign, too The flag is interpreted at a few other places in different styles so this commit ensures that the flag check is consistent everywhere (checking for Same in flag style is a bit too much as it isn't used in combination with others anyway, but who knows and just for consistency)
2012-01-19if multi-arch is detected ensure that pkg:all is reported as pkg:allDavid Kalnischkies
Versions with arch:all are added to the package with the native arch, so we can't rely on Pkg.Arch() for the architecture
2012-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- redirect out/input of dpkg --assert-multi-arch to /dev/null
2012-01-18* apt-pkg/aptconfiguration.cc:Michael Vogt
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too. (Closes: #655590) * Slovak (Ivan Masar). Closes: #652985 * Russian (Yuri Kozlov). Closes: #654844 * Hungarian (Gabor Kelemen). Closes: #655238
2012-01-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
2012-01-13* apt-pkg/pkgcache.cc:David Kalnischkies
- ignore implicit conflicts on providers in AllTarget, too
2012-01-11* apt-pkg/depcache.cc:David Kalnischkies
- implicit conflicts (for multiarch) are supposed to conflict only with real packages, not with virtual providers
2011-12-14* apt-pkg/aptconfiguration.cc:David Kalnischkies
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too.
2011-12-11use different compression types in the test now that we support themDavid Kalnischkies
2011-12-11add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies
Unfortunately it's hard to do an automated integration test with cd, so we test this method in isolation which tries to find Indexes and dropping of duplications with DropRepeats()
2011-11-30ensure that we exit instead of proceed in execution after the trapDavid Kalnischkies
(the execution leads to hard failures anyway)
2011-11-23* cmdline/apt-get.cc:David Kalnischkies
- ignore foreign architectures if we check if a provides has only one resolver as it's basically the same for the user, so no need to choose
2011-11-23* apt-pkg/depcache.cc:David Kalnischkies
- prefer native providers over foreigns even if the chain is foreign The code preferred real over virtual packages and based on priorities. This is changed in so far that a real package from any arch is preferred over any virtual provider and if priorities doesn't help in choosing the best provider we choose it based on architectures
2011-11-11 - provide a {Package,Version}List similar to {Package,Version}SetDavid Kalnischkies
* cmdline/apt-{get,cache,mark}.cc: - use Lists instead of Sets if input order should be preserved for commands accepting lists of packages, e.g. policy (Closes: #625960)
2011-10-30merge with my debian-sid branchDavid Kalnischkies
2011-10-17create "real" testcases out of the tests for chrisDavid Kalnischkies
2011-10-11share description list between "same" versions (LP: #868977)David Kalnischkies
2011-10-11run apt-get download in quiet mode as it messes with output otherwiseDavid Kalnischkies
2011-10-11run integration tests on my new amd64 box without failuresDavid Kalnischkies
2011-10-11fix compiler warning about signed comparision on amd64, tooDavid Kalnischkies
2011-10-05cherrypick from my apt/experimental branchDavid Kalnischkies
* apt-pkg/deb/debmetaindex.cc: - none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-05* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-04* apt-pkg/policy.cc:David Kalnischkies
- accept generic release pin expressions again in -t (Closes: #644166)
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies
2011-09-15update the test to ensure that NotAutomatic and co is used alsoDavid Kalnischkies
if the archive is signed, but the signature can't be checked as the key is missing (debbugs #597301 - fix in r2105)
2011-09-14enable APT in unpack/configure ordering to handle loops as wellDavid Kalnischkies
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)
2011-09-13merge with debian/sidDavid Kalnischkies
2011-09-09M-A:same lockstep unpack should operate on installedDavid Kalnischkies
packages first (LP: #835625)
2011-09-09fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies
2011-09-05 - add an Acquire::Min-ValidTime option (Closes: #640122)David Kalnischkies
* 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 Kalnischkies
- 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 Kalnischkies
invalid in most cases anyway
2011-08-17set the msglevel to a high dummy value if none is specifiedDavid Kalnischkies
2011-08-17for consistency allow the usage of 'make test' instead of './run-tests'David Kalnischkies
2011-08-17fix 'comparison between signed and unsigned integer expressions' warningDavid Kalnischkies
in the udevcdrom testcase
2011-08-17do not output color in the testcases if stdout/stderr are not a /dev/ptsDavid Kalnischkies
2011-08-17build test-binaries by default and add a test target to toplevelDavid Kalnischkies
2011-08-17fix the compareversion test to work then called from outside of libaptDavid Kalnischkies
2011-08-17the experimental branch has a better version of this test in libapt,David Kalnischkies
so remove it now - we will get it back at merge-time with experimental
2011-08-17remove fake-status leftover from the python-testDavid Kalnischkies
2011-08-17move the networkless test to the interactive helpers as it needsDavid Kalnischkies
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 Kalnischkies
2011-08-17move the interactive helper to a subdirectory of testDavid Kalnischkies
2011-08-17add 'dirs' target to the 'all' target to ensure that for e.g. the testsDavid Kalnischkies
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 Kalnischkies