mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
tests: use mountpoint program to check for mountpoints
This commit is contained in:
1 parent
69f1337980
commit
05a90d4227
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
makeDiskoTest {
|
||||
disko-config = import ../example/lvm-raid.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("grep -qs '/mnt/home' /proc/mounts");
|
||||
machine.succeed("mountpoint /mnt/home");
|
||||
'';
|
||||
extraConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
|
||||
Reference in new issue
Block a user