From: David Kalnischkies Date: Sun, 3 Jul 2016 08:54:25 +0000 (+0200) Subject: tests: allow setting environment in extra file X-Git-Tag: 1.3_pre1~12 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/60b48d4fc85593c9eabd8bea89fc6a7e6758410d?ds=inline tests: allow setting environment in extra file It can be handy to set apt options for the testcases which shouldn't be accidentally committed like external planner testing or workarounds for local setups. Gbp-Dch: Ignore --- diff --git a/test/integration/framework b/test/integration/framework index 4aa89cf20..fe6f82ac9 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -433,6 +433,10 @@ EOF # most tests just need one signed Release file, not both export APT_DONT_SIGN='Release.gpg' + if [ -r "${TESTDIRECTORY}/extra-environment" ]; then + . "${TESTDIRECTORY}/extra-environment" + fi + msgdone "info" }