diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-07-03 10:54:25 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-07-05 12:48:41 +0200 |
commit | 60b48d4fc85593c9eabd8bea89fc6a7e6758410d (patch) | |
tree | a44fe1563e8f4f41513cad0710c50ea909729500 /test | |
parent | 2a90aa7a064047fb1c8783b31720cd345018ca4a (diff) | |
download | apt-60b48d4fc85593c9eabd8bea89fc6a7e6758410d.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/framework | 4 |
1 files changed, 4 insertions, 0 deletions
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" } |