1import ./make-test-python.nix (
2 { pkgs, ... }:
3 {
4 name = "kernel-latest-ath-user-regd";
5 meta = with pkgs.lib.maintainers; {
6 maintainers = [ veehaitch ];
7 };
8
9 nodes.machine =
10 { pkgs, ... }:
11 {
12 boot.kernelPackages = pkgs.linuxPackages_latest;
13 networking.wireless.athUserRegulatoryDomain = true;
14 };
15
16 testScript = ''
17 assert "CONFIG_ATH_USER_REGD=y" in machine.succeed("zcat /proc/config.gz")
18 '';
19 }
20)