a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
17 lines
424 B
Nix
17 lines
424 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "kernel-latest";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
machine = { pkgs, ... }:
|
|
{
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
assert "Linux" in machine.succeed("uname -s")
|
|
assert "${pkgs.linuxPackages_latest.kernel.version}" in machine.succeed("uname -a")
|
|
'';
|
|
})
|