nixpkgs/nixos/tests/bpftune.nix

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

24 lines
347 B
Nix
Raw Permalink Normal View History

{ lib, pkgs, ... }:
{
2023-06-29 10:43:06 +08:00
name = "bpftune";
2023-06-29 10:43:06 +08:00
meta = {
maintainers = with lib.maintainers; [ nickcao ];
};
2023-06-29 10:43:06 +08:00
nodes = {
machine =
{ pkgs, ... }:
{
services.bpftune.enable = true;
};
};
2023-06-29 10:43:06 +08:00
testScript = ''
machine.wait_for_unit("bpftune.service")
machine.wait_for_console_text("bpftune works")
'';
2023-06-29 10:43:06 +08:00
}