git.iko.soy/typeable/nixpkgs
on master help sign in
pam.passthru.tests: add relevant nixos tests
commita001d45ac2653eefe269ea3fbf9650ed2e2a25e3 authorFrederik Rietdijk <fridh@fridh.nl> dateSun 3 Jan 2021, 15:50 (6 years ago) parent12f3e2c
1 file changed+7−1
pkgs/os-specific/linux/pam/default.nix+7−1
pkgs/os-specific/linux/pam/default.nix+7−1
@@ -1,4 +1,6 @@
1−{ stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4 }:
1+{ stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4
2+, nixosTests
3+}:
24
35stdenv.mkDerivation rec {
46 pname = "linux-pam";
@@ -63,6 +65,10 @@ stdenv.mkDerivation rec {
6365
6466 doCheck = false; # fails
6567
68+ passthru.tests = {
69+ inherit (nixosTests) pam-oath-login pam-u2f shadow;
70+ };
71+
6672 meta = with stdenv.lib; {
6773 homepage = "http://www.linux-pam.org/";
6874 description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";