2019-04-01 06:31:36 -06:00
|
|
|
import ./make-test.nix ({ pkgs, ...} : {
|
2019-04-01 08:04:54 -06:00
|
|
|
name = "kernel-testing";
|
2019-04-01 06:31:36 -06: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 08:04:54 -06:00
|
|
|
$machine->succeed("uname -a | grep '${pkgs.linuxPackages_testing.kernel.modDirVersion}'");
|
2019-04-01 06:31:36 -06:00
|
|
|
'';
|
|
|
|
})
|