mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
commit
57ad5dc844
4 changed files with 45 additions and 8 deletions
|
@ -330,6 +330,7 @@ in rec {
|
|||
tests.postgresql = callSubTests tests/postgresql.nix {};
|
||||
tests.pgmanage = callTest tests/pgmanage.nix {};
|
||||
tests.postgis = callTest tests/postgis.nix {};
|
||||
tests.powerdns = callTest tests/powerdns.nix {};
|
||||
#tests.pgjwt = callTest tests/pgjwt.nix {};
|
||||
tests.predictable-interface-names = callSubTests tests/predictable-interface-names.nix {};
|
||||
tests.printing = callTest tests/printing.nix {};
|
||||
|
|
12
nixos/tests/powerdns.nix
Normal file
12
nixos/tests/powerdns.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
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");
|
||||
'';
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue