Merge pull request #658 from nlewo/fix-test-api

test.api: use Hydra perl dependencies to run `api-test.pl`
This commit is contained in:
Graham Christensen 2019-07-24 10:56:19 -04:00 committed by GitHub
commit 8c9aec5f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ rec {
$machine->waitForOpenPort("3000");
# Run the API tests.
$machine->mustSucceed("su - hydra -c 'perl ${./tests/api-test.pl}' >&2");
$machine->mustSucceed("su - hydra -c 'perl -I ${build.${system}.perlDeps}/lib/perl5/site_perl ${./tests/api-test.pl}' >&2");
'';
});