summaryrefslogtreecommitdiff
path: root/lib/replace/test
AgeCommit message (Collapse)AuthorFilesLines
2013-06-03Bug 8997: change libreplace GPL source to LGPLDavid Disseldorp1-10/+14
libreplace currently includes socket.c and getifaddrs.c both of which are GPL licensed. Although not required, talloc and tdb build alongside this source, leading to some ambiguity regarding their LGPL licences. The following copyright holders have agreed to the GPL->LGPL change: lib/replace/getifaddrs.c Copyright (C) Andrew Tridgell 1998 Copyright (C) Jeremy Allison 2007 Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 lib/replace/test/getifaddrs.c lib/replace/socket.c * Copyright (C) Michael Adam <obnox@samba.org> 2008 Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jun 3 18:06:18 CEST 2013 on sn-devel-104
2012-12-03replace: Remove deprecated getpass() support.Andreas Schneider1-7/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2012-09-23lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett2-7/+3
The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
2012-03-22lib/replace: test for incoherent mmap.Rusty Russell1-0/+83
We test for other mmap features here, and both tdb1 and tdb2 want this check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-08-14replace: Check if we have mremap() availableSimo Sorce1-0/+48
2011-03-19lib/replace/test: Add missing include for prototype.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
2011-03-19libreplace: Fix prototypes for all functions.Jelmer Vernooij3-1/+5
2010-12-23lib/replace/testsuite.c - fix test outputMatthias Dieter Wallnöfer1-1/+1
2010-10-23lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher1-2/+2
metze
2010-06-01lib/replace: fix some c++ build warnings in testsuite.Günther Deschner1-4/+4
Guenther
2010-04-06s4-waf: test/simple.c is not needed any moreAndrew Tridgell1-8/+0
2010-04-06build: check if a simple C program runsAndrew Tridgell1-0/+8
This will be helpful for working out why AIX is failing
2010-04-06build: added interface checking and nicer snprintf checkingAndrew Tridgell1-0/+29
use CHECK_CODE()
2010-03-30replace: allow memmem() with an empty string to return NULLAndrew Tridgell1-1/+3
This is how FreeBSD behaves. We don't rely on it returning the string in Samba.
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-02libreplace: some systems don't have memmem()Andrew Tridgell1-0/+37
added rep_memmem() and a testsuite
2009-04-20Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij1-0/+4
doesn't take a mode argument.
2009-01-02Fix warnings in make test code.Jeremy Allison1-2/+6
Jeremy.
2008-09-22libreplace: move main() out of testsuite.cStefan Metzmacher2-11/+37
metze
2008-09-19Fix standalone builds adjusting to new relative path.Simo Sorce1-1/+2
Add shared-build target to libreplace. Useful to build multiple standalone libraries that depend on each other without having to install them to the final install dir during the build.
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij5-0/+1544