mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
4aeafc6b63
This should be safer w.r.t. race conditions.
13 lines
245 B
Nix
13 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");
|
|
'';
|
|
})
|