diff options
Diffstat (limited to 'nixpkgs/nixos/tests/fluidd.nix')
-rw-r--r-- | nixpkgs/nixos/tests/fluidd.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/fluidd.nix b/nixpkgs/nixos/tests/fluidd.nix new file mode 100644 index 000000000000..82a2c1e4049f --- /dev/null +++ b/nixpkgs/nixos/tests/fluidd.nix @@ -0,0 +1,19 @@ +import ./make-test-python.nix ({ lib, ... }: + +{ + name = "fluidd"; + meta.maintainers = with lib.maintainers; [ vtuan10 ]; + + nodes.machine = { pkgs, ... }: { + services.fluidd = { + enable = true; + }; + }; + + testScript = '' + machine.start() + machine.wait_for_unit("nginx.service") + machine.wait_for_open_port(80) + machine.succeed("curl -sSfL http://localhost/ | grep 'fluidd'") + ''; +}) |