nixpkgs/nixos/tests/quicktun.nix

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

21 lines
344 B
Nix
Raw Permalink Normal View History

{ pkgs, lib, ... }:
{
name = "quicktun";
meta.maintainers = with lib.maintainers; [ h7x4 ];
2023-11-01 19:48:51 +01:00
nodes = {
machine =
{ ... }:
{
services.quicktun."test-tunnel" = {
protocol = "raw";
};
};
};
2023-11-01 19:48:51 +01:00
testScript = ''
start_all()
machine.wait_for_unit("quicktun-test-tunnel.service")
'';
}