0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/tests/robustirc-bridge: init

This commit is contained in:
Georg Haas 2020-08-30 18:31:54 +02:00
parent 9376dd8516
commit 2bd6f0744f
No known key found for this signature in database
GPG key ID: B2D065AD4D6E0C81
3 changed files with 33 additions and 1 deletions

View file

@ -298,6 +298,7 @@ in
redis = handleTest ./redis.nix {};
redmine = handleTest ./redmine.nix {};
restic = handleTest ./restic.nix {};
robustirc-bridge = handleTest ./robustirc-bridge.nix {};
roundcube = handleTest ./roundcube.nix {};
rspamd = handleTest ./rspamd.nix {};
rss2email = handleTest ./rss2email.nix {};

View file

@ -0,0 +1,29 @@
import ./make-test-python.nix ({ pkgs, ... }:
{
name = "robustirc-bridge";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ hax404 ];
};
nodes =
{ bridge =
{ services.robustirc-bridge = {
enable = true;
extraFlags = [
"-listen localhost:6667"
"-network example.com"
];
};
};
};
testScript =
''
start_all()
bridge.wait_for_unit("robustirc-bridge.service")
bridge.wait_for_open_port(1080)
bridge.wait_for_open_port(6667)
'';
})