tests: Only export DEBUGINFOD_URLS when necessary
authorMark Wielaard <mark@klomp.org>
Mon, 6 Sep 2021 22:31:00 +0000 (00:31 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 6 Sep 2021 22:31:05 +0000 (00:31 +0200)
commitf0c8a9a9e4b85dbe613a08768e0b82cc1381407e
tree81bade7813c194c73ff0cf8de7883f5b0d799645
parent7880ccb6483e76847cdf1c6c4e45a2180bee820a
tests: Only export DEBUGINFOD_URLS when necessary

A couple of test set DEBUGINFOD_URLS before starting a debuginfd
server causing the server to query itself or a nonexisting debuginfod
server as delegate. In most cases it should be set after, except for
the testcase that explicitly checks for errors when using an invalid
URL.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/run-debuginfod-archive-groom.sh
tests/run-debuginfod-archive-rename.sh
tests/run-debuginfod-federation-link.sh
tests/run-debuginfod-federation-metrics.sh
tests/run-debuginfod-federation-sqlite.sh