nixpkgs-suyu/nixos/tests/bpftune.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
363 B
Nix
Raw Normal View History

2023-06-29 04:43:06 +02:00
import ./make-test-python.nix ({ lib, pkgs, ... }: {
name = "bpftune";
meta = {
maintainers = with lib.maintainers; [ nickcao ];
};
nodes = {
2023-07-18 02:48:43 +02:00
machine = { pkgs, ... }: {
2023-06-29 04:43:06 +02:00
services.bpftune.enable = true;
};
};
testScript = ''
2023-07-18 02:48:43 +02:00
machine.wait_for_unit("bpftune.service")
machine.wait_for_console_text("bpftune works")
2023-06-29 04:43:06 +02:00
'';
})