summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-08-30 08:45:30 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-08-30 08:45:30 +0000
commit424578c5c4a5edbd79142c9348f4eda689530651 (patch)
tree6ef01329b2a0fb48e171b382f777eb1347494f86 /tests
parentd668e9e5eed079686000f0979391f3691a54408a (diff)
Relevant BUGIDs:
Purpose of commit: cleanup/bugfix Commit summary: --------------- 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de> * xtests/Makefile.am: Move shell code to execute tests from here ... * xtests/run-xtests.sh: ... to here. * xtests/*.c: Include config.h. * tests/*.c: Likewise.
Diffstat (limited to 'tests')
-rw-r--r--tests/tst-pam_acct_mgmt.c4
-rw-r--r--tests/tst-pam_authenticate.c4
-rw-r--r--tests/tst-pam_chauthtok.c4
-rw-r--r--tests/tst-pam_close_session.c4
-rw-r--r--tests/tst-pam_end.c4
-rw-r--r--tests/tst-pam_fail_delay.c4
-rw-r--r--tests/tst-pam_get_item.c4
-rw-r--r--tests/tst-pam_get_user.c4
-rw-r--r--tests/tst-pam_getenvlist.c4
-rw-r--r--tests/tst-pam_open_session.c4
-rw-r--r--tests/tst-pam_set_item.c4
-rw-r--r--tests/tst-pam_setcred.c4
-rw-r--r--tests/tst-pam_start.c4
13 files changed, 52 insertions, 0 deletions
diff --git a/tests/tst-pam_acct_mgmt.c b/tests/tst-pam_acct_mgmt.c
index 8ae4c4d7..1e8c4b4d 100644
--- a/tests/tst-pam_acct_mgmt.c
+++ b/tests/tst-pam_acct_mgmt.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_authenticate.c b/tests/tst-pam_authenticate.c
index 20e631aa..1d43ec3a 100644
--- a/tests/tst-pam_authenticate.c
+++ b/tests/tst-pam_authenticate.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_chauthtok.c b/tests/tst-pam_chauthtok.c
index abe83ed0..37ed83d3 100644
--- a/tests/tst-pam_chauthtok.c
+++ b/tests/tst-pam_chauthtok.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_close_session.c b/tests/tst-pam_close_session.c
index 3e222088..86187bb9 100644
--- a/tests/tst-pam_close_session.c
+++ b/tests/tst-pam_close_session.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_end.c b/tests/tst-pam_end.c
index edcd75a3..93c2fc32 100644
--- a/tests/tst-pam_end.c
+++ b/tests/tst-pam_end.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_fail_delay.c b/tests/tst-pam_fail_delay.c
index f70e4c56..c4323178 100644
--- a/tests/tst-pam_fail_delay.c
+++ b/tests/tst-pam_fail_delay.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_get_item.c b/tests/tst-pam_get_item.c
index 726aa2d0..d88b8b29 100644
--- a/tests/tst-pam_get_item.c
+++ b/tests/tst-pam_get_item.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_get_user.c b/tests/tst-pam_get_user.c
index 916c6cc6..16f31236 100644
--- a/tests/tst-pam_get_user.c
+++ b/tests/tst-pam_get_user.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <config.h>
#include <stdio.h>
diff --git a/tests/tst-pam_getenvlist.c b/tests/tst-pam_getenvlist.c
index 52f2f185..d24a9bf9 100644
--- a/tests/tst-pam_getenvlist.c
+++ b/tests/tst-pam_getenvlist.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/tests/tst-pam_open_session.c b/tests/tst-pam_open_session.c
index abbd3f39..771ca35c 100644
--- a/tests/tst-pam_open_session.c
+++ b/tests/tst-pam_open_session.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_set_item.c b/tests/tst-pam_set_item.c
index 29944bdc..069d7aff 100644
--- a/tests/tst-pam_set_item.c
+++ b/tests/tst-pam_set_item.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/tests/tst-pam_setcred.c b/tests/tst-pam_setcred.c
index c9e87c2a..917d4d05 100644
--- a/tests/tst-pam_setcred.c
+++ b/tests/tst-pam_setcred.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
diff --git a/tests/tst-pam_start.c b/tests/tst-pam_start.c
index f50d5e04..ce013633 100644
--- a/tests/tst-pam_start.c
+++ b/tests/tst-pam_start.c
@@ -31,6 +31,10 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>