diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-30 14:51:27 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-30 15:07:34 +0200 |
commit | 437962ebb29208ae854a162b91723688295b3e9c (patch) | |
tree | 86bdd1697dfe6ef3bcc05962a953ed1592ff0c49 /nixos/tests/installer.nix | |
parent | 728d3476baa63c0d2b0a9be9d70db852ea7a2fd9 (diff) | |
download | nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar.gz nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar.bz2 nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar.lz nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar.xz nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.tar.zst nixpkgs-437962ebb29208ae854a162b91723688295b3e9c.zip |
Installer test: Unmount filesystems after installation
Hopefully fixes failures like: http://hydra.nixos.org/build/10712833 This shouldn't be necessary, but it might be that the use of unionfs is interfering with a clean shutdown.
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 72665607149..b019882900d 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -165,6 +165,10 @@ let # Do it again to make sure it's idempotent. $machine->succeed("nixos-install >&2"); + $machine->succeed("umount /mnt/boot || true"); + $machine->succeed("umount /mnt"); + $machine->succeed("sync"); + $machine->shutdown; # Now see if we can boot the installation. |