summary refs log tree commit diff
path: root/nixos/tests/misc.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-24 18:32:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-24 18:32:32 +0200
commitaf817ae0d8f0cdd414ae24a945ce9c4106352dad (patch)
tree05189fb53969924730f821415278fd12e176e9f2 /nixos/tests/misc.nix
parent019e9d8a3deada9dfab21897e73a46b9fa48a6cb (diff)
downloadnixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar.gz
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar.bz2
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar.lz
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar.xz
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.tar.zst
nixpkgs-af817ae0d8f0cdd414ae24a945ce9c4106352dad.zip
Try again
Diffstat (limited to 'nixos/tests/misc.nix')
-rw-r--r--nixos/tests/misc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix
index f3b5bbd1a1e..031fff2de58 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 ]');
       };