From 6ba2899c182f22b35479cbc2853cff70a01cde76 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 May 2012 23:39:03 +0000 Subject: [PATCH] * Run nixos-install twice to test idempotency. svn path=/nixos/trunk/; revision=34234 --- tests/installer.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/installer.nix b/tests/installer.nix index b64a24c1e3f..2b3232ca353 100644 --- a/tests/installer.nix +++ b/tests/installer.nix @@ -161,6 +161,9 @@ let # Perform the installation. $machine->mustSucceed("nixos-install >&2"); + # Do it again to make sure it's idempotent. + $machine->mustSucceed("nixos-install >&2"); + $machine->shutdown; # Now see if we can boot the installation.