2021-01-31 14:55:53 +01:00
|
|
|
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
|
|
name = "kernel-latest-ath-user-regd";
|
|
|
|
meta = with pkgs.lib.maintainers; {
|
|
|
|
maintainers = [ veehaitch ];
|
|
|
|
};
|
|
|
|
|
2022-03-21 00:15:30 +01:00
|
|
|
nodes.machine = { pkgs, ... }:
|
2021-01-31 14:55:53 +01:00
|
|
|
{
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
networking.wireless.athUserRegulatoryDomain = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript =
|
|
|
|
''
|
|
|
|
assert "CONFIG_ATH_USER_REGD=y" in machine.succeed("zcat /proc/config.gz")
|
|
|
|
'';
|
|
|
|
})
|