From 9fe629581bf126af81233706e71bec60decee79c Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sun, 6 Aug 2006 11:38:43 +0000 Subject: Relevant BUGIDs: Purpose of commit: bugfix Commit summary: --------------- 2006-08-06 Thorsten Kukuk * modules/pam_umask/pam_umask.c (setup_limits_from_gecos): Add error handling. * modules/pam_umask/pam_umask.8.xml: Document silent option. * xtests/Makefile.am: Fix includes for bootstrapping. Reported by Greg Schafer . --- xtests/Makefile.am | 10 ++++------ xtests/tst-pam_dispatch1.c | 3 ++- xtests/tst-pam_dispatch2.c | 3 ++- xtests/tst-pam_dispatch3.c | 3 ++- 4 files changed, 10 insertions(+), 9 deletions(-) (limited to 'xtests') diff --git a/xtests/Makefile.am b/xtests/Makefile.am index 622e3e59..549ef8c9 100644 --- a/xtests/Makefile.am +++ b/xtests/Makefile.am @@ -2,8 +2,10 @@ # Copyright (c) 2006 Thorsten Kukuk # -AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include -AM_LDFLAGS = -L$(top_builddir)/libpam -lpam +AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include \ + -I$(top_srcdir)/libpamc/include -I$(top_srcdir)/libpam_misc/include +AM_LDFLAGS = -L$(top_builddir)/libpam -lpam \ + -L$(top_builddir)/libpam_misc -lpam_misc CLEANFILES = *~ @@ -14,10 +16,6 @@ XTESTS = tst-pam_dispatch1 tst-pam_dispatch2 tst-pam_dispatch3 noinst_PROGRAMS = $(XTESTS) -tst_pam_dispatch1_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc -tst_pam_dispatch2_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc -tst_pam_dispatch3_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc - xtests: $(XTESTS) @failed=0; pass=0; all=0; \ for testname in $(XTESTS) ; do \ diff --git a/xtests/tst-pam_dispatch1.c b/xtests/tst-pam_dispatch1.c index 0fb5bdef..73720ab8 100644 --- a/xtests/tst-pam_dispatch1.c +++ b/xtests/tst-pam_dispatch1.c @@ -1,7 +1,8 @@ +#include +#include #include #include -#include static struct pam_conv conv = { misc_conv, diff --git a/xtests/tst-pam_dispatch2.c b/xtests/tst-pam_dispatch2.c index 181484f9..7b4221be 100644 --- a/xtests/tst-pam_dispatch2.c +++ b/xtests/tst-pam_dispatch2.c @@ -1,7 +1,8 @@ +#include +#include #include #include -#include static struct pam_conv conv = { misc_conv, diff --git a/xtests/tst-pam_dispatch3.c b/xtests/tst-pam_dispatch3.c index 76f3a940..9183cada 100644 --- a/xtests/tst-pam_dispatch3.c +++ b/xtests/tst-pam_dispatch3.c @@ -1,7 +1,8 @@ +#include +#include #include #include -#include static struct pam_conv conv = { misc_conv, -- cgit v1.2.3