mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
{example,tests}: add hybrid-tmpfs-on-root
This commit is contained in:
parent
d3bbbfe4f4
commit
3e0b4ddd3b
2 changed files with 62 additions and 0 deletions
10
tests/hybrid-tmpfs-on-root.nix
Normal file
10
tests/hybrid-tmpfs-on-root.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs ? (import <nixpkgs> { })
|
||||
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
||||
}:
|
||||
makeDiskoTest {
|
||||
disko-config = ../example/hybrid-tmpfs-on-root.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("mountpoint /");
|
||||
machine.succeed("findmnt / --types tmpfs");
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue