summaryrefslogtreecommitdiff
path: root/test/libapt/makefile
Commit message (Collapse)AuthorAgeFilesLines
* * lp:~mvo/apt/add-glob-function:Michael Vogt2013-08-151-0/+5
| | | | | | | - add Glob() to fileutl.{cc,h} Conflicts: apt-pkg/contrib/fileutl.h 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 pkgTagSection::Exists() and add testMichael Vogt2013-03-181-1/+8
|
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-021-0/+6
| | | | - 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-021-0/+6
| | | | - do not create duplicated flat-archive cdrom sources for foreign architectures on multi-arch cdroms
* * apt-pkg/contrib/cmdline.cc:Daniel Hartwig2012-06-091-0/+6
| | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331)
* add a testcase for FindPackages() to better validate that cdrom should work.David Kalnischkies2011-12-111-0/+6
| | | | | | 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()
* merge with debian/sidDavid Kalnischkies2011-09-131-0/+16
|\
| * for consistency allow the usage of 'make test' instead of './run-tests'David Kalnischkies2011-08-171-0/+4
| |
| * merge the tests for configuration into another libapt-testDavid Kalnischkies2011-08-171-0/+6
| |
| * write a proper testcase replacing the print-only uri.cc testDavid Kalnischkies2011-08-151-0/+6
| |
* | * merged latest fixes from debian-sidMichael Vogt2011-07-281-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt2011-07-261-0/+6
| | | | | | | | - add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
* | move hash test to libapt-testcases and add a few more testsDavid Kalnischkies2011-07-131-0/+6
|/
* add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-251-2/+8
|
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-05-281-0/+5
| | | - remove duplicate architectures in getArchitectures()
* * apt-pkg/deb/debversion.cc:David Kalnischkies2010-03-131-0/+6
| | | | | | | | | - consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-121-0/+6
| | | | | | - if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
* Fix the newly introduced method GetListOfFilesInDir to not accept everyDavid Kalnischkies2010-01-161-0/+6
| | | | | | | | | | | | | | | | | file if no extension is enforced (= restore old behaviour). (Closes: #565213) This commit includes also: * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here And a lovely test application of course.
* Ignore :qualifiers after package name in build dependenciesDavid Kalnischkies2009-11-291-0/+6
| | | | for now as long we don't understand them (Closes: #558103)
* [BREAK] add possibility to download and use multiplyDavid Kalnischkies2009-11-261-0/+13
Translation files, configurable with Acquire::Languages accessable with APT::Configuration::getLanguages() and as always with documentation in apt.conf. The commit also includes a very very simple testapp.