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

This commit is contained in:
Ilan Joselevich committed 2023-02-02 21:28:36 +02:00
1 parent d3bbbfe4f4
commit 3e0b4ddd3b
2 files changed
+62

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/hybrid-tmpfs-on-root.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
machine.succeed("findmnt / --types tmpfs");
'';
}