mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
4aeafc6b63
This should be safer w.r.t. race conditions.
12 lines
245 B
Nix
12 lines
245 B
Nix
import ./make-test.nix ({ pkgs, ... }: {
|
|
name = "powerdns";
|
|
|
|
nodes.server = { ... }: {
|
|
services.pdns-recursor.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
$server->waitForUnit("pdns-recursor");
|
|
$server->waitForOpenPort("53");
|
|
'';
|
|
})
|