2019-04-01 13:31:36 +01:00
|
|
|
import ./make-test.nix ({ pkgs, ...} : {
|
2019-04-01 15:04:54 +01:00
|
|
|
name = "kernel-testing";
|
2019-04-01 13:31:36 +01:00
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ nequissimus ];
|
|
|
|
};
|
|
|
|
|
|
|
|
machine = { pkgs, ... }:
|
|
|
|
{
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_testing;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript =
|
|
|
|
''
|
|
|
|
$machine->succeed("uname -s | grep 'Linux'");
|
2019-04-01 15:04:54 +01:00
|
|
|
$machine->succeed("uname -a | grep '${pkgs.linuxPackages_testing.kernel.modDirVersion}'");
|
2019-04-01 13:31:36 +01:00
|
|
|
'';
|
|
|
|
})
|