disko/tests/tmpfs.nix
2022-12-04 12:41:46 +01:00

10 lines
263 B
Nix

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