{example,tests}: add hybrid-tmpfs-on-root

This commit is contained in:
Ilan Joselevich 2023-02-02 21:16:11 +02:00
parent d3bbbfe4f4
commit 3e0b4ddd3b
No known key found for this signature in database
2 changed files with 62 additions and 0 deletions

View 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");
'';
}