summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-03 10:54:25 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-07-05 12:48:41 +0200
commit60b48d4fc85593c9eabd8bea89fc6a7e6758410d (patch)
treea44fe1563e8f4f41513cad0710c50ea909729500
parent2a90aa7a064047fb1c8783b31720cd345018ca4a (diff)
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
-rw-r--r--test/integration/framework4
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"
}