mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
18 lines
440 B
Nix
18 lines
440 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "kernel-testing";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
machine = { pkgs, ... }:
|
|
{
|
|
boot.kernelPackages = pkgs.linuxPackages_testing;
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
assert "Linux" in machine.succeed("uname -s")
|
|
assert "${pkgs.linuxPackages_testing.kernel.modDirVersion}" in machine.succeed("uname -a")
|
|
'';
|
|
})
|