5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
20 lines
363 B
Nix
20 lines
363 B
Nix
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")
|
|
'';
|
|
|
|
})
|