2021-08-21 22:51:01 +02:00
|
|
|
import ./make-test-python.nix ({ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "fluidd";
|
2023-04-30 03:17:04 +02:00
|
|
|
meta.maintainers = with lib.maintainers; [ vtuan10 ];
|
2021-08-21 22:51:01 +02: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'")
|
|
|
|
'';
|
|
|
|
})
|