summaryrefslogtreecommitdiff
path: root/test/libapt
Commit message (Collapse)AuthorAgeFilesLines
* Strip the .sh extension from the libapt testrunner andDavid Kalnischkies2010-07-251-5/+6
| | | | make it a bit more robust against calling from outside
* extends the ParseDepends testcase to have a look also at the WildcardsDavid Kalnischkies2010-07-051-0/+68
|
* add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-252-2/+85
|
* create the bin-test directory automatic in the runnerDavid Kalnischkies2010-05-281-0/+1
|
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-05-282-0/+66
| | | - remove duplicate architectures in getArchitectures()
* merged from the debian-sid branchMichael Vogt2010-05-041-0/+7
|\
| * merge from the mvo branchMichael Vogt2010-05-041-0/+7
| |\
| | * * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-232-4/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * 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 * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
| | * merged -r 1920..1922 from lp:~donkult/apt/sidMichael Vogt2009-12-101-0/+10
| |
* | * apt-pkg/deb/debversion.cc:David Kalnischkies2010-03-132-0/+129
| | | | | | | | | | | | | | | | | | - 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-122-0/+45
|/ | | | | | - if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
* * aptconfiguration.cc:David Kalnischkies2010-02-182-2/+27
| | | | | | | | | | - include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these will be included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
* dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-181-14/+47
|
* Fix the newly introduced method GetListOfFilesInDir to not accept everyDavid Kalnischkies2010-01-163-4/+134
| | | | | | | | | | | | | | | | | 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-292-0/+134
| | | | for now as long we don't understand them (Closes: #558103)
* convert getlanguages_test to our new equals()David Kalnischkies2009-11-281-34/+34
|
* add our own equals method as assert doesn't really show the offendingDavid Kalnischkies2009-11-281-0/+21
| | | | values which causes the failure.
* Add a very simple test runnerDavid Kalnischkies2009-11-261-0/+10
|
* [BREAK] add possibility to download and use multiplyDavid Kalnischkies2009-11-262-0/+104
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.