Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-16 | rework some code to fix some scan-build warnings | David Kalnischkies | |
No visible functional changes, just code moved around and additional checks to eliminate impossible branches Reported-By: scan-build Git-Dch: Ignore | |||
2013-12-23 | add basic tests for GetTempDir() | Michael Vogt | |
2013-11-29 | add "APT::String::Endswith" and automatic adding of ".list" in apt edit-source | Michael Vogt | |
2013-10-05 | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵ | Michael Vogt | |
debian/sid | |||
2013-10-01 | change maxsplit default from "0" to maxint | Michael Vogt | |
2013-09-07 | add maxsplit parameter to StringSplit | Michael Vogt | |
2013-09-07 | implement StringSplit() as we need this to fix the dpkg status-fd output parsing | Michael Vogt | |
2013-09-03 | use FileFd in HashSum test to unbreak non-linux ports | David Kalnischkies | |
The testcode happily mixes FILE* operations and direct access to fds which is even a bit suprising that it works on linux and worked so long for non-linux ports, so we switch to usage of FileFd instead which provides us with simple fd-only operations. Its overkill for this test as its a bare file and we ask for the descriptor all the time, but it shouldn't hurt to implicitly test it a bit this way. Closes: 721723 Thanks: Aaron M. Ucko | |||
2013-08-15 | set MALLOC_CHECK_ and MALLOC_PERTURB_ for testcases | David Kalnischkies | |
In bugreport deb:719629 Paul Wise mentions both to enable some malloc checks and as more testing can't hurt we enable both for all testcases. Git-Dch: Ignore | |||
2013-08-15 | rework the parameter creation for the Hashsum test | David Kalnischkies | |
Avoids having to different places from which test binaries are called Git-Dch: Ignore | |||
2013-08-15 | do not call make from libapt/run-tests if its called by make | David Kalnischkies | |
If we are called by make everything is build already and so this is just a noise nop we can just skip. (Noisy as it complains about being unable to communicate with the other makes to coordinate with the jobserver) Git-Dch: Ignore | |||
2013-08-15 | * lp:~mvo/apt/add-glob-function: | Michael Vogt | |
- add Glob() to fileutl.{cc,h} Conflicts: apt-pkg/contrib/fileutl.h debian/changelog | |||
2013-08-15 | * lp:~mvo/apt/config-clear: | Michael Vogt | |
- support Configuration.Clear() for a clear of the entire configuration Conflicts: debian/changelog | |||
2013-06-09 | stop building l10n if strings are unchanged | David Kalnischkies | |
The buildsystem tried to build l10n for test applications which never produced the output it expected causing it to try building it all the time. | |||
2013-05-08 | fix uri test | Michael Vogt | |
2013-05-08 | merged patch from Daniel Hartwig to fix URI and proxy releated issues | Michael Vogt | |
2013-03-22 | merged lp:~mvo/apt/fix-tagfile-hash | Michael Vogt | |
2013-03-18 | test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier) | Michael Vogt | |
2013-03-18 | fix pkgTagSection::Exists() and add test | Michael Vogt | |
2013-03-17 | * test/libapt/assert.h, test/libapt/run-tests: | Michael Vogt | |
- exit with status 1 on test failure | |||
2012-09-02 | * apt-pkg/cdrom.cc: | David Kalnischkies | |
- handle Components in the reduction for the source.list as multi-arch cds otherwise create duplicated source entries (e.g. "wheezy main main") | |||
2012-09-02 | * apt-pkg/indexcopy.cc: | David Kalnischkies | |
- do not create duplicated flat-archive cdrom sources for foreign architectures on multi-arch cdroms | |||
2012-06-14 | add two tests for architecture specifications | David Kalnischkies | |
2012-06-10 | * apt-pkg/aptconfiguration.cc: | David Kalnischkies | |
- if APT::Languages=none save "none" in allCodes so that the detected configuration is cached as intended (Closes: #674690, LP: #1004947) | |||
2012-06-09 | fix segfault with empty LongOpt in --no-* branch | David Kalnischkies | |
2012-06-09 | * apt-pkg/contrib/cmdline.cc: | Daniel Hartwig | |
- apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331) | |||
2012-05-20 | * apt-pkg/aptconfiguration.cc: | David Kalnischkies | |
- longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages | |||
2012-05-02 | add a simple test for HashSumValue classes | David Kalnischkies | |
2012-04-23 | /dev/null is a special absolute path as it has no subdirectories | David Kalnischkies | |
2012-04-23 | normalize a bit by replacing // and /./ with / in FindFile | David Kalnischkies | |
2012-03-22 | use the variables as the rest of the tests to avoid escapes in the output | David Kalnischkies | |
2012-01-30 | * apt-pkg/contrib/configuration.cc: | David Kalnischkies | |
- do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too. | |||
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) | |||
2011-12-11 | use different compression types in the test now that we support them | David Kalnischkies | |
2011-12-11 | add 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-10-11 | fix compiler warning about signed comparision on amd64, too | David Kalnischkies | |
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-09-19 | do not pollute namespace in the headers with using (Closes: #500198) | David Kalnischkies | |
2011-09-13 | merge with debian/sid | David Kalnischkies | |
2011-08-17 | for consistency allow the usage of 'make test' instead of './run-tests' | David Kalnischkies | |
2011-08-17 | do not output color in the testcases if stdout/stderr are not a /dev/pts | David Kalnischkies | |
2011-08-17 | fix the compareversion test to work then called from outside of libapt | David Kalnischkies | |
2011-08-17 | add 'dirs' target to the 'all' target to ensure that for e.g. the tests | David Kalnischkies | |
all (sub)directories are build which are needed (e.g. obj/ and co) | |||
2011-08-17 | move the list of versions to test with to the libapt subdirectory | David Kalnischkies | |
2011-08-17 | merge the tests for configuration into another libapt-test | David Kalnischkies | |
2011-08-15 | write a proper testcase replacing the print-only uri.cc test | David Kalnischkies | |
2011-08-15 | merged from the debian-sid branch | Michael Vogt | |
2011-08-11 | cppcheck complains about some possible speed improvements which could be | David 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-07-29 | test/libapt/hashsums_test.cc: add a test for HashString and VerifyFile | Michael Vogt | |