tests: replace the flat list of contexts with a hash

This way we can return more values without breaking callers.
This commit is contained in:
Graham Christensen
2021-02-25 19:26:38 -05:00
committed by Cole Helbling
parent 26cfe624d5
commit f08d0be1bd
5 changed files with 8 additions and 5 deletions

View File

@ -5,7 +5,7 @@ use Cwd;
use JSON;
use Setup;
(my $datadir, my $pgsql) = test_init(
my %ctx = test_init(
hydra_config => q|
<runcommand>
command = cp "$HYDRA_JSON" "$HYDRA_DATA/joboutput.json"