summaryrefslogtreecommitdiff
path: root/test/libapt
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-261-1/+1
|\ | | | | | | | | | | | | Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
| * rework some code to fix some scan-build warningsDavid Kalnischkies2014-01-161-1/+1
| | | | | | | | | | | | | | | | No visible functional changes, just code moved around and additional checks to eliminate impossible branches Reported-By: scan-build Git-Dch: Ignore
* | fix testMichael Vogt2014-01-241-0/+2
| |
* | Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' ↵Michael Vogt2014-01-211-0/+1
|\ \ | | | | | | | | | | | | | | | | | | into feature/source-deb822 Conflicts: test/integration/test-apt-sources-deb822
| * \ Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-181-2/+2
| |\ \ | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-181-2/+2
| |\ \ \ | | | | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ \ merged mvo/feature/deb822Michael Vogt2014-01-161-4/+4
| |\ \ \ \
| * | | | | actually register the tempfile removal atexitDavid Kalnischkies2014-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
* | | | | | add support for multipl types in one lineMichael Vogt2014-01-201-4/+4
| | | | | |
* | | | | | add support for multiple URIs in deb822 style sources.listMichael Vogt2014-01-201-2/+2
| | | | | |
* | | | | | add Description tag for deb822 sourcesMichael Vogt2014-01-201-2/+2
| |_|_|/ / |/| | | |
* | | | | rename "Suite/Section" to pluralMichael Vogt2014-01-181-2/+2
| |_|/ / |/| | |
* | | | implement suggestion by donkult (thanks!)Michael Vogt2014-01-171-2/+2
| |/ / |/| |
* | | update libapt testMichael Vogt2014-01-161-4/+4
|/ /
* | Merge branch 'debian/sid' into feature/source-deb822Michael Vogt2014-01-041-0/+13
|\|
| * add basic tests for GetTempDir()Michael Vogt2013-12-231-0/+13
| |
* | add unittest for new sourceslist parser as wellMichael Vogt2013-12-052-0/+58
|/
* add "APT::String::Endswith" and automatic adding of ".list" in apt edit-sourceMichael Vogt2013-11-291-0/+18
|
* Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-051-0/+27
|\ | | | | | | debian/sid
| * change maxsplit default from "0" to maxintMichael Vogt2013-10-011-0/+4
| |
| * add maxsplit parameter to StringSplitMichael Vogt2013-09-071-0/+6
| |
| * implement StringSplit() as we need this to fix the dpkg status-fd output parsingMichael Vogt2013-09-071-0/+17
| |
* | use FileFd in HashSum test to unbreak non-linux portsDavid Kalnischkies2013-09-031-16/+16
|/ | | | | | | | | | | | 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
* set MALLOC_CHECK_ and MALLOC_PERTURB_ for testcasesDavid Kalnischkies2013-08-151-2/+2
| | | | | | | 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
* rework the parameter creation for the Hashsum testDavid Kalnischkies2013-08-151-3/+5
| | | | | | Avoids having to different places from which test binaries are called Git-Dch: Ignore
* do not call make from libapt/run-tests if its called by makeDavid Kalnischkies2013-08-151-3/+5
| | | | | | | | | 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
* * lp:~mvo/apt/add-glob-function:Michael Vogt2013-08-152-0/+47
| | | | | | | - add Glob() to fileutl.{cc,h} Conflicts: apt-pkg/contrib/fileutl.h debian/changelog
* * lp:~mvo/apt/config-clear:Michael Vogt2013-08-151-0/+4
| | | | | | | - support Configuration.Clear() for a clear of the entire configuration Conflicts: debian/changelog
* stop building l10n if strings are unchangedDavid Kalnischkies2013-06-091-0/+1
| | | | | | 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.
* fix uri testMichael Vogt2013-05-081-1/+1
|
* merged patch from Daniel Hartwig to fix URI and proxy releated issuesMichael Vogt2013-05-081-0/+8
|
* merged lp:~mvo/apt/fix-tagfile-hashMichael Vogt2013-03-222-1/+66
|\
| * test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)Michael Vogt2013-03-181-0/+1
| |
| * fix pkgTagSection::Exists() and add testMichael Vogt2013-03-182-1/+65
| |
* | * test/libapt/assert.h, test/libapt/run-tests:Michael Vogt2013-03-172-1/+10
|/ | | - exit with status 1 on test failure
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-022-0/+92
| | | | - handle Components in the reduction for the source.list as multi-arch cds otherwise create duplicated source entries (e.g. "wheezy main main")
* * apt-pkg/indexcopy.cc:David Kalnischkies2012-09-022-0/+92
| | | | - do not create duplicated flat-archive cdrom sources for foreign architectures on multi-arch cdroms
* add two tests for architecture specificationsDavid Kalnischkies2012-06-141-5/+5
|
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-06-101-2/+4
| | | | - if APT::Languages=none save "none" in allCodes so that the detected configuration is cached as intended (Closes: #674690, LP: #1004947)
* fix segfault with empty LongOpt in --no-* branchDavid Kalnischkies2012-06-091-2/+13
|
* * apt-pkg/contrib/cmdline.cc:Daniel Hartwig2012-06-092-0/+27
| | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331)
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-05-203-5/+34
| | | | - longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages
* add a simple test for HashSumValue classesDavid Kalnischkies2012-05-021-0/+22
|
* /dev/null is a special absolute path as it has no subdirectoriesDavid Kalnischkies2012-04-231-0/+5
|
* normalize a bit by replacing // and /./ with / in FindFileDavid Kalnischkies2012-04-231-0/+13
|
* use the variables as the rest of the tests to avoid escapes in the outputDavid Kalnischkies2012-03-221-2/+2
|
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2012-01-301-0/+9
| | | | | - do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too.
* * test/libapt/run-tests:David Kalnischkies2012-01-201-3/+1
| | | | - 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
* * test/libapt/globalerror_test.cc:Pino Toscano2012-01-201-2/+5
| | | | | - errno 0 has a different strerror on hurd, so generate the expected message dynamically instead of hardcoding 'Success' (Closes: #656530)
* use different compression types in the test now that we support themDavid Kalnischkies2011-12-111-6/+6
|