mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 New Issue
Block a user