mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
add nodev support (for tmpfs, ramfs, nfs)
This commit is contained in:
parent
bfa2318ca5
commit
ff7fa87600
3 changed files with 133 additions and 1 deletions
10
tests/tmpfs.nix
Normal file
10
tests/tmpfs.nix
Normal 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");
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue