Try again

This commit is contained in:
Eelco Dolstra 2014-04-24 18:32:32 +02:00
parent 019e9d8a3d
commit af817ae0d8

View file

@ -62,6 +62,7 @@ import ./make-test.nix {
# Test whether hostname (and by extension nss_myhostname) works.
subtest "hostname", sub {
$machine->waitForUnit("dhcpcd.service");
$machine->waitForUnit("network.target");
$machine->succeed('[ "`hostname`" = machine ]');
$machine->succeed('[ "`hostname -s`" = machine ]');
};