From 60b48d4fc85593c9eabd8bea89fc6a7e6758410d Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 3 Jul 2016 10:54:25 +0200 Subject: 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 --- test/integration/framework | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') 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" } -- cgit v1.2.3