disko/tests/zfs-over-legacy.nix

14 lines
329 B
Nix
Raw Normal View History

2022-08-26 13:50:52 +03:00
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ../lib { }).testLib.makeDiskoTest
2022-08-26 13:50:52 +03:00
}:
makeDiskoTest {
inherit pkgs;
2023-02-21 19:19:39 +03:00
name = "zfs-over-legacy";
2022-10-29 14:19:29 +03:00
disko-config = ../example/zfs-over-legacy.nix;
2022-08-26 13:50:52 +03:00
extraTestScript = ''
machine.succeed("test -e /zfs_fs");
machine.succeed("mountpoint /zfs_fs");
2022-08-26 13:50:52 +03:00
'';
}