wireguard-tools: reference tests

This commit is contained in:
Jörg Thalheim 2020-04-25 11:03:30 +01:00
parent fcf547d0e2
commit 77dc7ef908
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -1,12 +1,12 @@
{ { stdenv
stdenv, fetchzip, , fetchzip
, nixosTests
iptables ? null, , iptables ? null
iproute ? null, , iproute ? null
makeWrapper ? null, , makeWrapper ? null
openresolv ? null, , openresolv ? null
procps ? null, , procps ? null
wireguard-go ? null, , wireguard-go ? null
}: }:
with stdenv.lib; with stdenv.lib;
@ -47,7 +47,12 @@ stdenv.mkDerivation rec {
done done
''; '';
passthru.updateScript = ./update.sh; passthru = {
updateScript = ./update.sh;
tests = {
inherit (nixosTests) wg-quick wireguard-generated wireguard-namespaces;
};
};
meta = { meta = {
description = "Tools for the WireGuard secure network tunnel"; description = "Tools for the WireGuard secure network tunnel";