disko/tests/hybrid-tmpfs-on-root.nix

12 lines
319 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
2023-02-21 16:19:39 +00:00
name = "hybrid-tmpfs-on-root";
disko-config = ../example/hybrid-tmpfs-on-root.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
machine.succeed("findmnt / --types tmpfs");
'';
}