dnsmasq: add some nixos tests to passthru.tests
no specific nixos test (yet) so we'll have to make do with ones that use dnsmasq on the periphery
This commit is contained in:
parent
2fc8634038
commit
4a46a86bcf
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, libidn, libnetfilter_conntrack, buildPackages
|
||||
, dbusSupport ? stdenv.isLinux
|
||||
, dbus
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
@ -77,6 +78,15 @@ stdenv.mkDerivation rec {
|
|||
++ optionals dbusSupport [ dbus ]
|
||||
++ optionals stdenv.isLinux [ libnetfilter_conntrack ];
|
||||
|
||||
passthru.tests = {
|
||||
prometheus-exporter = nixosTests.prometheus-exporters.dnsmasq;
|
||||
|
||||
# these tests use dnsmasq incidentally
|
||||
inherit (nixosTests) dnscrypt-proxy2;
|
||||
kubernetes-dns-single = nixosTests.kubernetes.dns-single-node;
|
||||
kubernetes-dns-multi = nixosTests.kubernetes.dns-multi-node;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "An integrated DNS, DHCP and TFTP server for small networks";
|
||||
homepage = "https://www.thekelleys.org.uk/dnsmasq/doc.html";
|
||||
|
|
Loading…
Reference in a new issue