pam.passthru.tests: add relevant nixos tests
This commit is contained in:
parent
12f3e2c42c
commit
a001d45ac2
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue