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

@ -0,0 +1,7 @@
all-am: fprintd-pam-test
fprintd-pam-test: fprintd-pam-test.in Makefile
sed -e "s|\@TOPBUILDDIR\@|$(abs_top_builddir)|" $< > $@
EXTRA_DIST = fprintd-pam-test.in
CLEANFILES = fprintd-pam-test