diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-15 18:36:38 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-15 18:37:55 +0100 |
commit | efa8fc2b0a5e94fd22e26c31c82b643d2352e92a (patch) | |
tree | 60b227c2470b03cdcc2f12e826d4a9cd39b0bef9 /nixos/tests | |
parent | b9c4569b6b4c7fc3eb96b55cbf4043f2ba35a901 (diff) | |
download | nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.gz nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.bz2 nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.lz nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.xz nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.tar.zst nixlib-efa8fc2b0a5e94fd22e26c31c82b643d2352e92a.zip |
Paranoia
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/installer.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 641ff924e14e..af9e6365a9fe 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -190,6 +190,9 @@ let $machine->succeed("test -e /boot/grub"); + # Check whether /root has correct permissions. + $machine->succeed("stat -c '%a' /root") =~ /700/ or die; + # Did the swap device get activated? # uncomment once https://bugs.freedesktop.org/show_bug.cgi?id=86930 is resolved #$machine->waitForUnit("swap.target"); |