about summary refs log tree commit diff
path: root/nixos/tests/bpftune.nix
blob: c17bbcd110920228cae0fdd7bc029137ec407141 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import ./make-test-python.nix ({ 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")
  '';

})