forked from mirrors/nixpkgs
Make the misc test a bit more robust
This commit is contained in:
parent
2d8c0d24f2
commit
2b7e746c02
|
@ -61,6 +61,7 @@ import ./make-test.nix {
|
|||
|
||||
# Test whether hostname (and by extension nss_myhostname) works.
|
||||
subtest "hostname", sub {
|
||||
$machine->waitForUnit("dhcpcd.service");
|
||||
$machine->succeed('[ "`hostname`" = machine ]');
|
||||
$machine->succeed('[ "`hostname -s`" = machine ]');
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue