1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/nixos/tests/powerdns.nix

13 lines
294 B
Nix
Raw Normal View History

2018-02-17 13:36:28 +00:00
import ./make-test.nix ({ pkgs, ... }: {
name = "powerdns";
nodes.server = { config, pkgs, ... }: {
services.powerdns.enable = true;
};
testScript = ''
$server->waitForUnit("pdns");
$server->succeed("${pkgs.dnsutils}/bin/dig version.bind txt chaos \@127.0.0.1");
'';
})