pam.passthru.tests: add relevant nixos tests

This commit is contained in:
Frederik Rietdijk 2021-01-03 15:50:37 +01:00
parent 12f3e2c42c
commit a001d45ac2

View file

@ -1,4 +1,6 @@
{ stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4 }:
{ stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "linux-pam";
@ -63,6 +65,10 @@ stdenv.mkDerivation rec {
doCheck = false; # fails
passthru.tests = {
inherit (nixosTests) pam-oath-login pam-u2f shadow;
};
meta = with stdenv.lib; {
homepage = "http://www.linux-pam.org/";
description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";