From 08d3062fc3ece6b5d98e32bad5f1d54c088b0dd0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 23 Sep 2012 13:20:45 +1000 Subject: ntdb: Try to fix the build on Solaris which does not have err --- lib/ccan/wscript | 2 +- lib/ntdb/wscript | 2 +- lib/replace/replace-testsuite.h | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 lib/replace/replace-testsuite.h diff --git a/lib/ccan/wscript b/lib/ccan/wscript index be5eab23dc..334f8fe4d0 100644 --- a/lib/ccan/wscript +++ b/lib/ccan/wscript @@ -147,11 +147,11 @@ def build(bld): ccan_module(bld, 'endian') ccan_module(bld, 'likely', 'ccan-str') ccan_module(bld, 'typesafe_cb') + ccan_module(bld, 'err', 'ccan-compiler') # Failtest pulls in a lot of stuff, and it's only for unit tests. if bld.env.DEVELOPER_MODE: ccan_module(bld, 'container_of', 'ccan-check_type') - ccan_module(bld, 'err', 'ccan-compiler') ccan_module(bld, 'htable', 'ccan-compiler') ccan_module(bld, 'list', 'ccan-container_of') ccan_module(bld, 'time') diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript index 39802dbf3a..1a4b02bb25 100644 --- a/lib/ntdb/wscript +++ b/lib/ntdb/wscript @@ -155,7 +155,7 @@ def build(bld): bld.SAMBA_BINARY('ntdbtorture', 'tools/ntdbtorture.c', - deps='ntdb', + deps='ntdb ccan-err', install=False) bld.SAMBA_BINARY('ntdbtool', diff --git a/lib/replace/replace-testsuite.h b/lib/replace/replace-testsuite.h new file mode 100644 index 0000000000..a522853351 --- /dev/null +++ b/lib/replace/replace-testsuite.h @@ -0,0 +1,13 @@ +#ifndef __LIB_REPLACE_REPLACE_TEST_H__ +#define __LIB_REPLACE_REPLACE_TEST_H__ + +#include +struct torture_context; + +bool torture_local_replace(struct torture_context *ctx); +int libreplace_test_strptime(void); +int test_readdir_os2_delete(void); +int getifaddrs_test(void); + +#endif /* __LIB_REPLACE_REPLACE_TEST_H__ */ + -- cgit