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