forked from lix-project/hydra
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:
commit
8c9aec5f12
|
@ -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");
|
||||
'';
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue