* Run nixos-install twice to test idempotency.

svn path=/nixos/trunk/; revision=34234
This commit is contained in:
Eelco Dolstra 2012-05-24 23:39:03 +00:00
parent b11770373a
commit 6ba2899c18
1 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,9 @@ let
# Perform the installation. # Perform the installation.
$machine->mustSucceed("nixos-install >&2"); $machine->mustSucceed("nixos-install >&2");
# Do it again to make sure it's idempotent.
$machine->mustSucceed("nixos-install >&2");
$machine->shutdown; $machine->shutdown;
# Now see if we can boot the installation. # Now see if we can boot the installation.