tests: Cleanup error handling and don't share cache between servers/client
authorMark Wielaard <mark@klomp.org>
Thu, 9 Sep 2021 16:50:54 +0000 (18:50 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 9 Sep 2021 16:50:54 +0000 (18:50 +0200)
commitfdbf472a7b0120ec66b546a3067d67bbf8e17f8a
tree8318c7d0de6995289c02385f0bb299ea54d66abe
parentc1a67b39611f3e396121cf5333b0e77b537e9741
tests: Cleanup error handling and don't share cache between servers/client

There were still three tests that shared a cache between the servers
and client that queried those servers. Give them all separate caches.

Also the error handler for debuginfod tests wasn't called when a
command inside a function failed. Since testrun is a function, there
would be no metrics or error log files listed if the testrun command
failed. Making it hard to see what went wrong. Fix this by using
set -o errtrace

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