2019-11-27 08:02:58 +00:00
|
|
|
import ./make-test-python.nix ({ pkgs, ...} : {
|
2019-04-01 15:04:54 +01:00
|
|
|
name = "kernel-testing";
|
2021-01-10 19:08:30 +00:00
|
|
|
meta = with pkgs.lib.maintainers; {
|
2019-04-01 13:31:36 +01:00
|
|
|
maintainers = [ nequissimus ];
|
|
|
|
};
|
|
|
|
|
|
|
|
machine = { pkgs, ... }:
|
|
|
|
{
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_testing;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript =
|
|
|
|
''
|
2019-11-27 08:02:58 +00:00
|
|
|
assert "Linux" in machine.succeed("uname -s")
|
|
|
|
assert "${pkgs.linuxPackages_testing.kernel.modDirVersion}" in machine.succeed("uname -a")
|
2019-04-01 13:31:36 +01:00
|
|
|
'';
|
|
|
|
})
|