mirror of
https://github.com/nix-community/disko.git
synced 2026-12-04 06:53: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
@@ -5,6 +5,6 @@ makeDiskoTest {
|
||||
disko-config = import ../example/mdadm.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -b /dev/md/raid1");
|
||||
machine.succeed("grep -qs '/mnt/raid' /proc/mounts");
|
||||
machine.succeed("mountpoint /mnt/raid");
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user