summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-06 04:44:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:36 -0500
commita983b06d37c3b87a02444d9a9862777b88629344 (patch)
tree531e396a45b073f476fd091e068c2d6f175a618b /source4/lib/replace/test
parent3e11f4c06131542565149496d659f0050411a68f (diff)
downloadsamba-a983b06d37c3b87a02444d9a9862777b88629344.tar.gz
samba-a983b06d37c3b87a02444d9a9862777b88629344.tar.bz2
samba-a983b06d37c3b87a02444d9a9862777b88629344.zip
r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
Diffstat (limited to 'source4/lib/replace/test')
-rw-r--r--source4/lib/replace/test/testsuite.c45
1 files changed, 21 insertions, 24 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c
index af50edc2a3..9dddc017be 100644
--- a/source4/lib/replace/test/testsuite.c
+++ b/source4/lib/replace/test/testsuite.c
@@ -24,31 +24,28 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "../replace.h"
-#include <stdio.h>
+#include "replace.h"
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#if HAVE_STRING_H
-#include <string.h>
-#endif
-
-#include <fcntl.h>
-#include <errno.h>
+/*
+ we include all the system/*.h include files here so that libreplace tests
+ them in the build farm
+*/
+#include "system/capability.h"
+#include "system/dir.h"
+#include "system/filesys.h"
+#include "system/glob.h"
+#include "system/iconv.h"
+#include "system/locale.h"
+#include "system/network.h"
+#include "system/passwd.h"
+#include "system/printing.h"
+#include "system/readline.h"
+#include "system/select.h"
+#include "system/shmem.h"
+#include "system/syslog.h"
+#include "system/terminal.h"
+#include "system/time.h"
+#include "system/wait.h"
#define TESTFILE "testfile.dat"