tests: Add test for the PAM module

Test the PAM module using pam_wrapper and our mock fprintd.

See https://lwn.net/Articles/671094/

Note that this requires a version of pam_wrapper with this bug fixed:
https://bugzilla.samba.org/show_bug.cgi?id=14245
This commit is contained in:
Bastien Nocera
2020-01-20 17:34:45 +01:00
parent f1517af09a
commit 00b79d1a2f
7 changed files with 119 additions and 1 deletions

View File

@ -1,3 +1,5 @@
SUBDIRS = pam
TESTS_ENVIRONMENT = export FPRINT_BUILD_DIR=$(abs_top_builddir)/src; export TOPSRCDIR=$(abs_top_srcdir); export PYTHON=@PYTHON@;
TESTS = fprintd.py test_fprintd_utils.py