forked from lix-project/lix
Merge pull request #1699 from aszlig/fix-remote-build-log
build-remote: Fix missing log output
This commit is contained in:
commit
3c470c97a1
|
@ -177,7 +177,7 @@ int main (int argc, char * * argv)
|
|||
Activity act(*logger, lvlTalkative, actUnknown, fmt("connecting to '%s'", bestMachine->storeUri));
|
||||
|
||||
Store::Params storeParams;
|
||||
if (hasPrefix(storeUri, "ssh://")) {
|
||||
if (hasPrefix(bestMachine->storeUri, "ssh://")) {
|
||||
storeParams["max-connections"] ="1";
|
||||
storeParams["log-fd"] = "4";
|
||||
if (bestMachine->sshKey != "")
|
||||
|
|
|
@ -85,7 +85,10 @@ in
|
|||
}
|
||||
|
||||
# Perform a build and check that it was performed on the slave.
|
||||
my $out = $client->succeed("nix-build ${expr nodes.client.config 1}");
|
||||
my $out = $client->succeed(
|
||||
"nix-build ${expr nodes.client.config 1} 2> build-output",
|
||||
"grep -q Hello build-output"
|
||||
);
|
||||
$slave1->succeed("test -e $out");
|
||||
|
||||
# And a parallel build.
|
||||
|
|
Loading…
Reference in a new issue