summaryrefslogtreecommitdiffstats
path: root/nixos/tests/bpftune.nix
blob: f94e3a98e5cfd15122bd1ebdb3e82e9c9cbedd7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, pkgs, ... }:
{

  name = "bpftune";

  meta = {
    maintainers = with lib.maintainers; [ nickcao ];
  };

  nodes = {
    machine =
      { pkgs, ... }:
      {
        services.bpftune.enable = true;
      };
  };

  testScript = ''
    machine.wait_for_unit("bpftune.service")
    machine.wait_for_console_text("bpftune works")
  '';

}