mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
20 lines
423 B
Nix
20 lines
423 B
Nix
import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|
{
|
|
name = "netbird";
|
|
|
|
meta.maintainers = with pkgs.lib.maintainers; [ ];
|
|
|
|
nodes = {
|
|
node = { ... }: {
|
|
services.netbird.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
node.wait_for_unit("netbird-wt0.service")
|
|
node.wait_for_file("/var/run/netbird/sock")
|
|
node.succeed("netbird status | grep -q 'Daemon status: NeedsLogin'")
|
|
'';
|
|
})
|