forked from mirrors/nixpkgs
Try again
This commit is contained in:
parent
019e9d8a3d
commit
af817ae0d8
|
@ -62,6 +62,7 @@ import ./make-test.nix {
|
||||||
# Test whether hostname (and by extension nss_myhostname) works.
|
# Test whether hostname (and by extension nss_myhostname) works.
|
||||||
subtest "hostname", sub {
|
subtest "hostname", sub {
|
||||||
$machine->waitForUnit("dhcpcd.service");
|
$machine->waitForUnit("dhcpcd.service");
|
||||||
|
$machine->waitForUnit("network.target");
|
||||||
$machine->succeed('[ "`hostname`" = machine ]');
|
$machine->succeed('[ "`hostname`" = machine ]');
|
||||||
$machine->succeed('[ "`hostname -s`" = machine ]');
|
$machine->succeed('[ "`hostname -s`" = machine ]');
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue