summaryrefslogtreecommitdiff
path: root/debian/tests
AgeCommit message (Collapse)Author
2017-02-22reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivilegesDavid Kalnischkies
We can't cleanup the environment like e.g. sudo would do as you usually want the environment to "leak" into these helpers, but some variables like HOME should really not have still the value of the root user – it could confuse the helpers (USER) and HOME isn't accessible anyhow. Closes: 842877 (cherry picked from commit 34b491e735ad47c4805e63f3b83a659b8d10262b) (cherry picked from commit cc5919076ba1c2dab773a6c06cb3dd5497f0c656)
2016-03-15Fix bug where the problemresolve can put a pkg into a heisenstateMichael Vogt
The problemresolver will set the candidate version for pkg P back to the current version if it encounters an impossible to satisfy critical dependency on P. However it did not set the State of the package back as well which lead to a situation where P is neither in Keep,Install,Upgrade,Delete state. Note that this can not be tested via the traditional sh based framework. I added a python-apt based test for this. LP: #1550741 [jak@debian.org: Make the test not fail if apt_pkg cannot be imported]
2015-12-14tests: Depend on libfile-fcntllock-perl to shut up dpkg-gencontrolJulian Andres Klode
Ubuntu's autopkgtest server always prints dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe which is somewhat annoying. Work around that by depending on that perl stuff for the test suite. Gbp-Dch: ignore
2015-11-28autopkgtest: use the quiet mode as for travis and coDavid Kalnischkies
Git-Dch: Ignore
2015-09-15tests: don't use hardcoded port for http and httpsDavid Kalnischkies
This allows running tests in parallel. Git-Dch: Ignore
2015-05-11sync TFRewrite*Order arrays with dpkg and dakDavid Kalnischkies
dpkg and dak know various field names and order them in their output, while we have yet another order and have to play catch up with them as we are sitting between chairs here and neither order is ideal for us, too. A little testcase is from now on supposed to help ensureing that we do not derivate to far away from which fields dpkg knows and orders.
2014-11-09streamline display of --help in all toolsDavid Kalnischkies
By convention, if I run a tool with --help or --version I expect it to exit successfully with the usage, while if I do call it wrong (like without any parameters) I expect the usage message shown with a non-zero exit.
2014-09-27add gnupg and gnupg2 as test-dependencyDavid Kalnischkies
apt can work with both, so it has an or-dependency on them, but the tests want to play with both of them. Git-Dch: Ignore
2014-09-03Run autopkgtest tests with "env -i" to avoid pollution from the host envMichael Vogt
Closes: #759655
2014-07-17Use @builddeps@ in the debian/tests/control fileMichael Vogt
2014-07-08build: Convert from DebianDoc SGML to DocBook XMLGuillem Jover
2014-06-11fix test-apt-ftparchive-cachedb-lp1274466 and apt-internal-solver testsMichael Vogt
2014-06-11fix autopkgtest testsMichael Vogt
2014-03-13correct LD_LIBRARY_PATH and config loading for apt-helperDavid Kalnischkies
Mostly ensures that we use the build methods and not the system provided methods in the tests (if we don't want it that way). Git-Dch: Ignore
2014-03-13unset LANGUAGE in the testing framework directlyDavid Kalnischkies
Git-Dch: Ignore
2014-02-27initial version of apt-helperMichael Vogt
2014-02-25Bug#739988: Fix autopkgtest missing dependencies and localeMartin Pitt
debian/tests/control: Add missing build-essential, fakeroot, and wget test dependencies. debian/tests/run-tests: Pin locale to C to avoid test failures in other locales.
2014-02-22add missing libdb-dev to debian/tests/controlMichael Vogt
2014-02-13use "Restrictions: allow-stderr and avoid apt-stderr.log in ↵Michael Vogt
debian/tests/run-tests
2013-12-13run autopkgtest against the installed aptMichael Vogt
2013-11-29add autopkgtestMichael Vogt