summaryrefslogtreecommitdiff
path: root/modules/pam_echo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_echo')
-rw-r--r--modules/pam_echo/Makefile.am5
-rwxr-xr-xmodules/pam_echo/tst-pam_echo2
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/pam_echo/Makefile.am b/modules/pam_echo/Makefile.am
index 0bd3f2b4..40415c7b 100644
--- a/modules/pam_echo/Makefile.am
+++ b/modules/pam_echo/Makefile.am
@@ -4,7 +4,7 @@
CLEANFILES = *~
-EXTRA_DIST = README $(MANS) $(XMLS)
+EXTRA_DIST = README $(MANS) $(XMLS) tst-pam_echo
man_MANS = pam_echo.8
@@ -22,9 +22,10 @@ endif
securelib_LTLIBRARIES = pam_echo.la
-
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: pam_echo.8.xml
-include $(top_srcdir)/Make.xml.rules
endif
+
+TESTS = tst-pam_echo
diff --git a/modules/pam_echo/tst-pam_echo b/modules/pam_echo/tst-pam_echo
new file mode 100755
index 00000000..483a2c23
--- /dev/null
+++ b/modules/pam_echo/tst-pam_echo
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../tests/tst-dlopen .libs/pam_echo.so