2021-08-22 07:53:02 +00:00
|
|
|
import ./make-test-python.nix ({ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "fluidd";
|
2023-05-24 13:37:59 +00:00
|
|
|
meta.maintainers = with lib.maintainers; [ vtuan10 ];
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
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'")
|
|
|
|
'';
|
|
|
|
})
|