mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
19 lines
356 B
Nix
19 lines
356 B
Nix
|
import ./make-test-python.nix ({ pkgs, lib, ... }:
|
||
|
{
|
||
|
name = "quicktun";
|
||
|
meta.maintainers = with lib.maintainers; [ h7x4 ];
|
||
|
|
||
|
nodes = {
|
||
|
machine = { ... }: {
|
||
|
services.quicktun."test-tunnel" = {
|
||
|
protocol = "raw";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
start_all()
|
||
|
machine.wait_for_unit("quicktun-test-tunnel.service")
|
||
|
'';
|
||
|
})
|