disko/tests/hybrid-tmpfs-on-root.nix
2023-02-21 11:19:39 -05:00

12 lines
319 B
Nix

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