add nodev support (for tmpfs, ramfs, nfs)

This commit is contained in:
lassulus committed 2022-12-04 12:41:46 +01:00
1 parent bfa2318ca5
commit ff7fa87600
3 files changed
+133 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
disko-config = ../example/tmpfs.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
machine.succeed("mountpoint /tmp");
'';
}