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

12 lines
281 B
Nix

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