* Fix race condition in the test.

This commit is contained in:
Eelco Dolstra 2011-11-05 21:23:01 +00:00
parent fa69ff5726
commit a6a3f3a8c2
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
$server->succeed("mkdir -m 700 /root/.ssh");
$server->copyFileFromHost("key.pub", "/root/.ssh/authorized_keys");
$server->waitForJob("sshd");
$client->waitForJob("network-interfaces");
$client->succeed("ssh -o StrictHostKeyChecking=no " . $server->name() . " 'echo hello world'");
# Copy the closure of package A from the client to the server.