From f23231f198f3122ab52982bcd4fbf0e225b24664 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 May 2014 15:42:02 +0200 Subject: [PATCH] Installer test: Don't wait for dhcpcd if we don't have a network --- nixos/tests/installer.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 60d5166821fc..1c3fb148410c 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -129,9 +129,10 @@ let #$machine->waitForUnit('getty@tty2'); $machine->waitForUnit("rogue"); $machine->waitForUnit("nixos-manual"); - $machine->waitForUnit("dhcpcd"); ${optionalString testChannel '' + $machine->waitForUnit("dhcpcd"); + # Allow the machine to talk to the fake nixos.org. $machine->succeed( "rm /etc/hosts",