forked from lix-project/hydra
test.api: use Hydra perl dependencies to run api-test.pl
The test was failing with: machine# Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module)...
This commit is contained in:
parent
c85bf668e6
commit
c620bc2be0
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ rec {
|
||||||
$machine->waitForOpenPort("3000");
|
$machine->waitForOpenPort("3000");
|
||||||
|
|
||||||
# Run the API tests.
|
# 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