From af817ae0d8f0cdd414ae24a945ce9c4106352dad Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Apr 2014 18:32:32 +0200 Subject: [PATCH] Try again --- nixos/tests/misc.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index f3b5bbd1a1e0..031fff2de585 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -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 ]'); };