tests: use mountpoint program to check for mountpoints

This commit is contained in:
Jörg Thalheim committed 2022-08-26 08:51:21 +02:00
1 parent 69f1337980
commit 05a90d4227
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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" ];