summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/pam_access/Makefile.am5
-rw-r--r--modules/pam_cracklib/Makefile.am5
-rw-r--r--modules/pam_debug/Makefile.am5
-rw-r--r--modules/pam_deny/Makefile.am5
-rw-r--r--modules/pam_echo/Makefile.am5
-rw-r--r--modules/pam_env/Makefile.am5
-rw-r--r--modules/pam_exec/Makefile.am5
-rw-r--r--modules/pam_faildelay/Makefile.am5
-rw-r--r--modules/pam_faillock/Makefile.am5
-rw-r--r--modules/pam_filter/Makefile.am5
-rw-r--r--modules/pam_ftp/Makefile.am5
-rw-r--r--modules/pam_group/Makefile.am5
-rw-r--r--modules/pam_issue/Makefile.am5
-rw-r--r--modules/pam_keyinit/Makefile.am5
-rw-r--r--modules/pam_lastlog/Makefile.am5
-rw-r--r--modules/pam_limits/Makefile.am5
-rw-r--r--modules/pam_listfile/Makefile.am5
-rw-r--r--modules/pam_localuser/Makefile.am5
-rw-r--r--modules/pam_loginuid/Makefile.am5
-rw-r--r--modules/pam_mail/Makefile.am5
-rw-r--r--modules/pam_mkhomedir/Makefile.am5
-rw-r--r--modules/pam_motd/Makefile.am5
-rw-r--r--modules/pam_namespace/Makefile.am5
-rw-r--r--modules/pam_nologin/Makefile.am5
-rw-r--r--modules/pam_permit/Makefile.am5
-rw-r--r--modules/pam_pwhistory/Makefile.am5
-rw-r--r--modules/pam_rhosts/Makefile.am5
-rw-r--r--modules/pam_rootok/Makefile.am5
-rw-r--r--modules/pam_securetty/Makefile.am5
-rw-r--r--modules/pam_selinux/Makefile.am5
-rw-r--r--modules/pam_sepermit/Makefile.am5
-rw-r--r--modules/pam_setquota/Makefile.am5
-rw-r--r--modules/pam_shells/Makefile.am5
-rw-r--r--modules/pam_stress/Makefile.am5
-rw-r--r--modules/pam_succeed_if/Makefile.am5
-rw-r--r--modules/pam_tally/Makefile.am5
-rw-r--r--modules/pam_tally2/Makefile.am5
-rw-r--r--modules/pam_time/Makefile.am5
-rw-r--r--modules/pam_tty_audit/Makefile.am5
-rw-r--r--modules/pam_umask/Makefile.am5
-rw-r--r--modules/pam_unix/Makefile.am5
-rw-r--r--modules/pam_userdb/Makefile.am5
-rw-r--r--modules/pam_usertype/Makefile.am5
-rw-r--r--modules/pam_warn/Makefile.am5
-rw-r--r--modules/pam_wheel/Makefile.am5
-rw-r--r--modules/pam_xauth/Makefile.am5
46 files changed, 138 insertions, 92 deletions
diff --git a/modules/pam_access/Makefile.am b/modules/pam_access/Makefile.am
index 5167bfda..5723dd59 100644
--- a/modules/pam_access/Makefile.am
+++ b/modules/pam_access/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = access.conf.5 pam_access.8
endif
XMLS = README.xml access.conf.5.xml pam_access.8.xml
-TESTS = tst-pam_access
+dist_check_SCRIPTS = tst-pam_access
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_cracklib/Makefile.am b/modules/pam_cracklib/Makefile.am
index 264abad9..e11c42d7 100644
--- a/modules/pam_cracklib/Makefile.am
+++ b/modules/pam_cracklib/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_cracklib.8
endif
XMLS = README.xml pam_cracklib.8.xml
-TESTS = tst-pam_cracklib
+dist_check_SCRIPTS = tst-pam_cracklib
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_debug/Makefile.am b/modules/pam_debug/Makefile.am
index c89fb465..2b3d8613 100644
--- a/modules/pam_debug/Makefile.am
+++ b/modules/pam_debug/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_debug.8
endif
XMLS = README.xml pam_debug.8.xml
-TESTS = tst-pam_debug
+dist_check_SCRIPTS = tst-pam_debug
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_deny/Makefile.am b/modules/pam_deny/Makefile.am
index 5cbf01fe..7b188485 100644
--- a/modules/pam_deny/Makefile.am
+++ b/modules/pam_deny/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_deny.8
endif
XMLS = README.xml pam_deny.8.xml
-TESTS = tst-pam_deny
+dist_check_SCRIPTS = tst-pam_deny
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_echo/Makefile.am b/modules/pam_echo/Makefile.am
index da7188ae..944b0cb8 100644
--- a/modules/pam_echo/Makefile.am
+++ b/modules/pam_echo/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_echo.8
endif
XMLS = README.xml pam_echo.8.xml
-TESTS = tst-pam_echo
+dist_check_SCRIPTS = tst-pam_echo
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_env/Makefile.am b/modules/pam_env/Makefile.am
index aa8a359e..c66112d6 100644
--- a/modules/pam_env/Makefile.am
+++ b/modules/pam_env/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_env.conf.5 pam_env.8 environment.5
endif
XMLS = README.xml pam_env.conf.5.xml pam_env.8.xml
-TESTS = tst-pam_env
+dist_check_SCRIPTS = tst-pam_env
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_exec/Makefile.am b/modules/pam_exec/Makefile.am
index f28a1a7b..713de6af 100644
--- a/modules/pam_exec/Makefile.am
+++ b/modules/pam_exec/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_exec.8
endif
XMLS = README.xml pam_exec.8.xml
-TESTS = tst-pam_exec
+dist_check_SCRIPTS = tst-pam_exec
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_faildelay/Makefile.am b/modules/pam_faildelay/Makefile.am
index 3063738d..a630c2bd 100644
--- a/modules/pam_faildelay/Makefile.am
+++ b/modules/pam_faildelay/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_faildelay.8
endif
XMLS = README.xml pam_faildelay.8.xml
-TESTS = tst-pam_faildelay
+dist_check_SCRIPTS = tst-pam_faildelay
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_faillock/Makefile.am b/modules/pam_faillock/Makefile.am
index eb1d8d0a..b1f2b3e5 100644
--- a/modules/pam_faillock/Makefile.am
+++ b/modules/pam_faillock/Makefile.am
@@ -7,14 +7,15 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_faillock.8 faillock.8 faillock.conf.5
endif
XMLS = README.xml pam_faillock.8.xml faillock.8.xml faillock.conf.5.xml
-TESTS = tst-pam_faillock
+dist_check_SCRIPTS = tst-pam_faillock
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_filter/Makefile.am b/modules/pam_filter/Makefile.am
index ac5afc7f..4d75e843 100644
--- a/modules/pam_filter/Makefile.am
+++ b/modules/pam_filter/Makefile.am
@@ -7,13 +7,14 @@ SUBDIRS = upperLOWER
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_filter.8
endif
XMLS = README.xml pam_filter.8.xml
-TESTS = tst-pam_filter
+dist_check_SCRIPTS = tst-pam_filter
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_ftp/Makefile.am b/modules/pam_ftp/Makefile.am
index a70eeb0f..abfa98a8 100644
--- a/modules/pam_ftp/Makefile.am
+++ b/modules/pam_ftp/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_ftp.8
endif
XMLS = README.xml pam_ftp.8.xml
-TESTS = tst-pam_ftp
+dist_check_SCRIPTS = tst-pam_ftp
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_group/Makefile.am b/modules/pam_group/Makefile.am
index d9b9bbde..a9a0a1ef 100644
--- a/modules/pam_group/Makefile.am
+++ b/modules/pam_group/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = group.conf.5 pam_group.8
endif
XMLS = README.xml group.conf.5.xml pam_group.8.xml
-TESTS = tst-pam_group
+dist_check_SCRIPTS = tst-pam_group
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_issue/Makefile.am b/modules/pam_issue/Makefile.am
index be7c8598..1b26c31e 100644
--- a/modules/pam_issue/Makefile.am
+++ b/modules/pam_issue/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_issue.8
endif
XMLS = README.xml pam_issue.8.xml
-TESTS = tst-pam_issue
+dist_check_SCRIPTS = tst-pam_issue
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_keyinit/Makefile.am b/modules/pam_keyinit/Makefile.am
index 0c85696b..e1953312 100644
--- a/modules/pam_keyinit/Makefile.am
+++ b/modules/pam_keyinit/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_keyinit.8
endif
XMLS = README.xml pam_keyinit.8.xml
-TESTS = tst-pam_keyinit
+dist_check_SCRIPTS = tst-pam_keyinit
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_lastlog/Makefile.am b/modules/pam_lastlog/Makefile.am
index eda816a0..dc0c7c4c 100644
--- a/modules/pam_lastlog/Makefile.am
+++ b/modules/pam_lastlog/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_lastlog.8
endif
XMLS = README.xml pam_lastlog.8.xml
-TESTS = tst-pam_lastlog
+dist_check_SCRIPTS = tst-pam_lastlog
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_limits/Makefile.am b/modules/pam_limits/Makefile.am
index a5355571..911b07b3 100644
--- a/modules/pam_limits/Makefile.am
+++ b/modules/pam_limits/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = limits.conf.5 pam_limits.8
endif
XMLS = README.xml limits.conf.5.xml pam_limits.8.xml
-TESTS = tst-pam_limits
+dist_check_SCRIPTS = tst-pam_limits
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_listfile/Makefile.am b/modules/pam_listfile/Makefile.am
index d76d4424..8b0fc281 100644
--- a/modules/pam_listfile/Makefile.am
+++ b/modules/pam_listfile/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_listfile.8
endif
XMLS = README.xml pam_listfile.8.xml
-TESTS = tst-pam_listfile
+dist_check_SCRIPTS = tst-pam_listfile
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_localuser/Makefile.am b/modules/pam_localuser/Makefile.am
index 3c1cae7f..b742fdd0 100644
--- a/modules/pam_localuser/Makefile.am
+++ b/modules/pam_localuser/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_localuser.8
endif
XMLS = README.xml pam_localuser.8.xml
-TESTS = tst-pam_localuser
+dist_check_SCRIPTS = tst-pam_localuser
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_loginuid/Makefile.am b/modules/pam_loginuid/Makefile.am
index 30325ea5..071b2ae5 100644
--- a/modules/pam_loginuid/Makefile.am
+++ b/modules/pam_loginuid/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_loginuid.8
endif
XMLS = README.xml pam_loginuid.8.xml
-TESTS = tst-pam_loginuid
+dist_check_SCRIPTS = tst-pam_loginuid
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_mail/Makefile.am b/modules/pam_mail/Makefile.am
index 16bb1b34..6756f409 100644
--- a/modules/pam_mail/Makefile.am
+++ b/modules/pam_mail/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_mail.8
endif
XMLS = README.xml pam_mail.8.xml
-TESTS = tst-pam_mail
+dist_check_SCRIPTS = tst-pam_mail
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_mkhomedir/Makefile.am b/modules/pam_mkhomedir/Makefile.am
index 0ed99ded..b0997f65 100644
--- a/modules/pam_mkhomedir/Makefile.am
+++ b/modules/pam_mkhomedir/Makefile.am
@@ -6,13 +6,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_mkhomedir.8 mkhomedir_helper.8
endif
XMLS = README.xml pam_mkhomedir.8.xml mkhomedir_helper.8.xml
-TESTS = tst-pam_mkhomedir
+dist_check_SCRIPTS = tst-pam_mkhomedir
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_motd/Makefile.am b/modules/pam_motd/Makefile.am
index 7818a6a3..956dad2b 100644
--- a/modules/pam_motd/Makefile.am
+++ b/modules/pam_motd/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_motd.8
endif
XMLS = README.xml pam_motd.8.xml
-TESTS = tst-pam_motd
+dist_check_SCRIPTS = tst-pam_motd
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
index 3bde601b..eacd5201 100644
--- a/modules/pam_namespace/Makefile.am
+++ b/modules/pam_namespace/Makefile.am
@@ -6,13 +6,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = namespace.conf.5 pam_namespace.8 pam_namespace_helper.8
endif
XMLS = README.xml namespace.conf.5.xml pam_namespace.8.xml pam_namespace_helper.8.xml
-TESTS = tst-pam_namespace
+dist_check_SCRIPTS = tst-pam_namespace
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_nologin/Makefile.am b/modules/pam_nologin/Makefile.am
index e72c1aa7..e2d00725 100644
--- a/modules/pam_nologin/Makefile.am
+++ b/modules/pam_nologin/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_nologin.8
endif
XMLS = README.xml pam_nologin.8.xml
-TESTS = tst-pam_nologin
+dist_check_SCRIPTS = tst-pam_nologin
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_permit/Makefile.am b/modules/pam_permit/Makefile.am
index 765089fd..cd35ecc8 100644
--- a/modules/pam_permit/Makefile.am
+++ b/modules/pam_permit/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_permit.8
endif
XMLS = README.xml pam_permit.8.xml
-TESTS = tst-pam_permit
+dist_check_SCRIPTS = tst-pam_permit
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_pwhistory/Makefile.am b/modules/pam_pwhistory/Makefile.am
index f9a7f9bd..bd9f1ea9 100644
--- a/modules/pam_pwhistory/Makefile.am
+++ b/modules/pam_pwhistory/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_pwhistory.8
endif
XMLS = README.xml pam_pwhistory.8.xml
-TESTS = tst-pam_pwhistory
+dist_check_SCRIPTS = tst-pam_pwhistory
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_rhosts/Makefile.am b/modules/pam_rhosts/Makefile.am
index 33656226..cc3f2f26 100644
--- a/modules/pam_rhosts/Makefile.am
+++ b/modules/pam_rhosts/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_rhosts.8
endif
XMLS = README.xml pam_rhosts.8.xml
-TESTS = tst-pam_rhosts
+dist_check_SCRIPTS = tst-pam_rhosts
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index 00d8e86b..727a3950 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_rootok.8
endif
XMLS = README.xml pam_rootok.8.xml
-TESTS = tst-pam_rootok
+dist_check_SCRIPTS = tst-pam_rootok
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_securetty/Makefile.am b/modules/pam_securetty/Makefile.am
index 0640538c..8ea02d83 100644
--- a/modules/pam_securetty/Makefile.am
+++ b/modules/pam_securetty/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_securetty.8
endif
XMLS = README.xml pam_securetty.8.xml
-TESTS = tst-pam_securetty
+dist_check_SCRIPTS = tst-pam_securetty
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_selinux/Makefile.am b/modules/pam_selinux/Makefile.am
index a70355de..9476ab33 100644
--- a/modules/pam_selinux/Makefile.am
+++ b/modules/pam_selinux/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS) pam_selinux_check.8
+EXTRA_DIST = $(XMLS) pam_selinux_check.8
if HAVE_DOC
dist_man_MANS = pam_selinux.8
endif
XMLS = README.xml pam_selinux.8.xml
-TESTS = tst-pam_selinux
+dist_check_SCRIPTS = tst-pam_selinux
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am
index 321f58d6..18a89b60 100644
--- a/modules/pam_sepermit/Makefile.am
+++ b/modules/pam_sepermit/Makefile.am
@@ -6,13 +6,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_sepermit.8 sepermit.conf.5
endif
XMLS = README.xml pam_sepermit.8.xml sepermit.conf.5.xml
-TESTS = tst-pam_sepermit
+dist_check_SCRIPTS = tst-pam_sepermit
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_setquota/Makefile.am b/modules/pam_setquota/Makefile.am
index 20c9f62d..b01a3288 100644
--- a/modules/pam_setquota/Makefile.am
+++ b/modules/pam_setquota/Makefile.am
@@ -1,13 +1,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_setquota.8
endif
XMLS = README.xml pam_setquota.8.xml
-TESTS = tst-pam_setquota
+dist_check_SCRIPTS = tst-pam_setquota
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_shells/Makefile.am b/modules/pam_shells/Makefile.am
index 561ea3d0..b91bada5 100644
--- a/modules/pam_shells/Makefile.am
+++ b/modules/pam_shells/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_shells.8
endif
XMLS = README.xml pam_shells.8.xml
-TESTS = tst-pam_shells
+dist_check_SCRIPTS = tst-pam_shells
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_stress/Makefile.am b/modules/pam_stress/Makefile.am
index 4e989bfb..10671ad4 100644
--- a/modules/pam_stress/Makefile.am
+++ b/modules/pam_stress/Makefile.am
@@ -4,9 +4,10 @@
CLEANFILES = *~
-EXTRA_DIST = $(TESTS)
+EXTRA_DIST =
-TESTS = tst-pam_stress
+dist_check_SCRIPTS = tst-pam_stress
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_succeed_if/Makefile.am b/modules/pam_succeed_if/Makefile.am
index 7833fee8..cb54f843 100644
--- a/modules/pam_succeed_if/Makefile.am
+++ b/modules/pam_succeed_if/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_succeed_if.8
endif
XMLS = README.xml pam_succeed_if.8.xml
-TESTS = tst-pam_succeed_if
+dist_check_SCRIPTS = tst-pam_succeed_if
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_tally/Makefile.am b/modules/pam_tally/Makefile.am
index b6704cc8..3a973943 100644
--- a/modules/pam_tally/Makefile.am
+++ b/modules/pam_tally/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_tally.8
endif
XMLS = README.xml pam_tally.8.xml
-TESTS = tst-pam_tally
+dist_check_SCRIPTS = tst-pam_tally
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_tally2/Makefile.am b/modules/pam_tally2/Makefile.am
index c446ac6c..5c887ad7 100644
--- a/modules/pam_tally2/Makefile.am
+++ b/modules/pam_tally2/Makefile.am
@@ -6,13 +6,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_tally2.8
endif
XMLS = README.xml pam_tally2.8.xml
-TESTS = tst-pam_tally2
+dist_check_SCRIPTS = tst-pam_tally2
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_time/Makefile.am b/modules/pam_time/Makefile.am
index 592ada8e..833d51a6 100644
--- a/modules/pam_time/Makefile.am
+++ b/modules/pam_time/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = time.conf.5 pam_time.8
endif
XMLS = README.xml time.conf.5.xml pam_time.8.xml
-TESTS = tst-pam_time
+dist_check_SCRIPTS = tst-pam_time
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_tty_audit/Makefile.am b/modules/pam_tty_audit/Makefile.am
index c3096f52..e774c57d 100644
--- a/modules/pam_tty_audit/Makefile.am
+++ b/modules/pam_tty_audit/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_tty_audit.8
endif
XMLS = README.xml pam_tty_audit.8.xml
-TESTS = tst-pam_tty_audit
+dist_check_SCRIPTS = tst-pam_tty_audit
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
diff --git a/modules/pam_umask/Makefile.am b/modules/pam_umask/Makefile.am
index 6e19da9c..b8c506ef 100644
--- a/modules/pam_umask/Makefile.am
+++ b/modules/pam_umask/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_umask.8
endif
XMLS = README.xml pam_umask.8.xml
-TESTS = tst-pam_umask
+dist_check_SCRIPTS = tst-pam_umask
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am
index cbf853dc..6463872a 100644
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = md5.c md5_crypt.c lckpwdf.-c $(XMLS) $(TESTS) CHANGELOG
+EXTRA_DIST = md5.c md5_crypt.c lckpwdf.-c $(XMLS) CHANGELOG
if HAVE_DOC
dist_man_MANS = pam_unix.8 unix_chkpwd.8 unix_update.8
endif
XMLS = README.xml pam_unix.8.xml unix_chkpwd.8.xml unix_update.8.xml
-TESTS = tst-pam_unix
+dist_check_SCRIPTS = tst-pam_unix
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am
index fd57ebd2..aa70e7de 100644
--- a/modules/pam_userdb/Makefile.am
+++ b/modules/pam_userdb/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS) create.pl
+EXTRA_DIST = $(XMLS) create.pl
if HAVE_DOC
dist_man_MANS = pam_userdb.8
endif
XMLS = README.xml pam_userdb.8.xml
-TESTS = tst-pam_userdb
+dist_check_SCRIPTS = tst-pam_userdb
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_usertype/Makefile.am b/modules/pam_usertype/Makefile.am
index 02dc5063..28224b94 100644
--- a/modules/pam_usertype/Makefile.am
+++ b/modules/pam_usertype/Makefile.am
@@ -6,13 +6,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_usertype.8
endif
XMLS = README.xml pam_usertype.8.xml
-TESTS = tst-pam_usertype
+dist_check_SCRIPTS = tst-pam_usertype
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_warn/Makefile.am b/modules/pam_warn/Makefile.am
index ad2431dd..0a5b54ff 100644
--- a/modules/pam_warn/Makefile.am
+++ b/modules/pam_warn/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_warn.8
endif
XMLS = README.xml pam_warn.8.xml
-TESTS = tst-pam_warn
+dist_check_SCRIPTS = tst-pam_warn
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_wheel/Makefile.am b/modules/pam_wheel/Makefile.am
index 3c86d021..67ddc678 100644
--- a/modules/pam_wheel/Makefile.am
+++ b/modules/pam_wheel/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_wheel.8
endif
XMLS = README.xml pam_wheel.8.xml
-TESTS = tst-pam_wheel
+dist_check_SCRIPTS = tst-pam_wheel
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
diff --git a/modules/pam_xauth/Makefile.am b/modules/pam_xauth/Makefile.am
index 57180d30..7c557706 100644
--- a/modules/pam_xauth/Makefile.am
+++ b/modules/pam_xauth/Makefile.am
@@ -5,13 +5,14 @@
CLEANFILES = *~
MAINTAINERCLEANFILES = $(MANS) README
-EXTRA_DIST = $(XMLS) $(TESTS)
+EXTRA_DIST = $(XMLS)
if HAVE_DOC
dist_man_MANS = pam_xauth.8
endif
XMLS = README.xml pam_xauth.8.xml
-TESTS = tst-pam_xauth
+dist_check_SCRIPTS = tst-pam_xauth
+TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)