diff options
author | lassulus <lassulus@lassul.us> | 2022-12-03 12:08:19 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-04 12:41:46 +0100 |
commit | ff7fa8760096e3f00a2515b35a1432237f104280 (patch) | |
tree | 4e13cb302f61742482e9bf10471d2146c9e8990a /tests | |
parent | bfa2318ca5dc6b2471c5025b9adbd2fd35c3adea (diff) |
add nodev support (for tmpfs, ramfs, nfs)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tmpfs.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/tmpfs.nix b/tests/tmpfs.nix new file mode 100644 index 0000000..10da055 --- /dev/null +++ b/tests/tmpfs.nix @@ -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"); + ''; +} |