mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
tests: use mountpoint program to check for mountpoints
This commit is contained in:
parent
69f1337980
commit
05a90d4227
4 changed files with 4 additions and 4 deletions
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue