diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-08-06 11:38:43 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-08-06 11:38:43 +0000 |
commit | 9fe629581bf126af81233706e71bec60decee79c (patch) | |
tree | 24358d9de5cd0f6f399cef9761dcbd5af03a9b9e /xtests | |
parent | ea68558c25723480e609918b8ce11b3a8ac10b93 (diff) | |
download | pam-9fe629581bf126af81233706e71bec60decee79c.tar.gz pam-9fe629581bf126af81233706e71bec60decee79c.tar.bz2 pam-9fe629581bf126af81233706e71bec60decee79c.zip |
Relevant BUGIDs:
Purpose of commit: bugfix
Commit summary:
---------------
2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
* 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 <gschafer@zip.com.au>.
Diffstat (limited to 'xtests')
-rw-r--r-- | xtests/Makefile.am | 10 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch1.c | 3 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch2.c | 3 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch3.c | 3 |
4 files changed, 10 insertions, 9 deletions
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 <kukuk@suse.de> # -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 <stdio.h> +#include <string.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> 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 <stdio.h> +#include <strings.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> 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 <stdio.h> +#include <string.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> static struct pam_conv conv = { misc_conv, |