summaryrefslogtreecommitdiff
path: root/source3/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-03-25s3: Compile IDL files in autogen, some configure tests need thisVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 25 16:35:30 CET 2011 on sn-devel-104
2009-01-22Move configure test files to the top-level and share them between s3 andJelmer Vernooij9-1214/+0
s4.
2008-05-17configure: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher1-93/+0
metze (This used to be commit dddc4f0cef8ea71783fa7f7b68ec9ad3f29f7add)
2008-02-29configure: Remove lib/repdir.c and related stuffStefan Metzmacher1-214/+0
It was only used in configure, but lib/replace already has a much better version of it. metze (This used to be commit c9b60b75b4763c37cfa63741b4f055e4ea488e92)
2008-02-21Remove mmap check from configure.inMichael Adam1-68/+0
It is available in libreplace. Michael (This used to be commit 310c121faf5effeca9ab0df3591c486dd4982749)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter10-49/+250
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell1-2/+2
not GNU Library General Public License (This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit c14aba93c06348a1f84fc1dd9791ff1159d22c4b)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach1-0/+1
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r22731: - Fix bug #4594.Derrell Lipman9-36/+49
configure.in determines if -Werror-implicit-function-declaration is available, and if so it enables that flag if --enable-developer is specified. Since the configure tests themselves did not use that flag, it was possible for a configure test to succeed, followed by a failed compilation due to a facility being available but not having a proper declaration in a header file. (This bit me with readahead().) This patch ensures that if implicit function declarations will kill the build, the feature being tested is deselected so the build will succeed. The autoconf manual suggests using return instead of exit in configure tests because the declaration for exit is often missing. We require this now, since we error if prototypes are missing. See section 5.5.1 of http://www.gnu.org/software/autoconf/manual/autoconf.html. This patch makes these changes, because in fact, an external declaration for exit is missing here (and likely elsewhere). I've verified that the features selected (here) with the original configure.in and the new one are the same except for, in my case, readahead. I've also confirmed that the generated Makefile is identical. These changes are not being applied to the 3.0.26 branch because it does not exhibit the initial problem this patch is supposed to solve since it doesn't attempt to use -Werror-implicit-function-declaration. (This used to be commit 4d42720915b8f65842147171f689127e94d1b973)
2007-10-10r22419: Update configure so that we only need one copy of os2_delete.cJames Peach1-107/+0
(This used to be commit e5dd3bbf29f206090d64134eb808e5f627317804)
2007-10-10r19941: One copy of this code should be sufficient.James Peach1-107/+0
(This used to be commit 493ba681e541292f1c2c6b6670bb2c48f63a0aa3)
2007-10-10r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison1-0/+107
into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy. (This used to be commit 08e52ead03304ff04229e1bfe544ff40e2564fc7)
2007-10-10r14746: Add the Samba4 replacements for opendir/readdir etc. toJeremy Allison1-0/+107
Samba3 - with some 64-bit macro madness. Attempt to fix the broken directory handling in the *BSD-of-the-month club. Jeremy. (This used to be commit fd98427f64f4206c01f16f82fadf24f5863878db)
2007-10-10r6586: get rid of a few more compiler warningsHerb Lewis2-0/+4
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
2007-10-10r6319: add prototype so -Wstrict-prototypes will not failHerb Lewis1-0/+2
(This used to be commit b92e8b1c82ff3aa497b614a01ebbca4fbc9d00c4)
2007-10-10r283: removing --with-cracklib after discussion with abartklet @ sambaXPGerald Carter1-12/+0
(This used to be commit df94b0471eb0628aa27f534134d60b62ed123688)
2007-10-10r39: * importing .cvsignore filesGerald Carter1-1/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2004-01-14Finish adding cracklib support - this adds the configure test to enableAndrew Bartlett1-0/+7
it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett (This used to be commit 17518018c0264d2a8e4afbc712a22ef4a1a00003)
2004-01-12First stab at cracklib support (password quality checking) in Samba 3.0Andrew Bartlett1-0/+5
This adds a configure test, that tries to find out if we have a working cracklib installation, and tries to pick up the debian hints on where the dictionary might be found. Default is per my Fedora Core 1 system - I'm not sure how much it changes. Andrew Bartlett (This used to be commit bc770edb788f0b6f719011cda683f045b76b7ba5)
2003-10-09Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij1-0/+94
Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
2001-12-31added a simple test to see whether building shared libraries actuallyAndrew Tridgell1-0/+6
works (This used to be commit 3aeefbca4f272f57e83e753177ee6e8157b2dbd5)
2001-08-07Update to work with no crypt available, just like it will in Samba.Jeremy Allison1-0/+778
Jermey. (This used to be commit 84e15b81992977fd546f2118d1f9847cf0713fa0)
2001-06-26Add check for working AF_LOCAL sockets, which are borkenMartin Pool2-0/+94
on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS. (This used to be commit 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8)
2001-05-06allow env variable TESTDIR for directory for fcntl_lock testAndrew Tridgell1-0/+4
(This used to be commit b6645402b12cf8eaa7d9edf7dba3fae1f5ec0356)
2001-05-06add an alarm to fcntl test to stop tru64 from freezing on the testAndrew Tridgell1-0/+2
(This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c)
2001-05-02use O_EXCL for fcntl_lock.c test in case some fool runs on /tmpAndrew Tridgell1-1/+2
(This used to be commit 4d3d7a0d673b80f1de411a5fb5a23ae06cf80f43)
2001-05-02added sys/wait.h to fcntl_lock testAndrew Tridgell1-0/+4
(This used to be commit ed151605e57b7db3457cdf0c87f71c86e84c8f5b)
2001-05-02added error msgs to fcntl_lock testAndrew Tridgell1-1/+17
(This used to be commit db5d38736d0d91acb55f4e4a67f33a2c0b5fdca3)
2001-01-12Changes from APPLIANCE_HEAD:David O'Neill1-0/+74
source/tests/crypttest.c - another one missed from a while ago: Add back tests/crypttest.c so that we can check for truncated crypt on those systems that it is relevant for and we avoid setting if for those systems that it is not true for. (Originally from SAMBA_2_2, Nov 13th 2000) (This used to be commit 5358f8abc1e1dea591446e926c00821fadfe0d84)
2000-04-17removed some obsolete configure tests (sysv ipc etc)Andrew Tridgell3-138/+0
(This used to be commit e8905a557a342ba3604a61663c6ff24887a9fd46)
2000-03-29Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison1-0/+96
to allow successful build. Jeremy. (This used to be commit 567713a07c089ab3ebb4c9b96087777de154b601)
2000-02-07Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison1-0/+46
Code from Don Badrak <dbadrak@census.gov> Jeremy. (This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)
1999-12-132nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1-25/+0
that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell6-7/+34
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1998-10-22server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1-0/+1
(as it is everywhere else). smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST. Exec users preferred shell is SHELL environment variable is set. tests/fcntl_lock.c: Added sys/types.h for systems that need this. Jeremy. (This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)
1998-09-29get away with dummy and .dummy filesAlexandre Oliva1-1/+0
(This used to be commit 90a8a02484a0897b053fd6531b7fec5d23098b6f)
1998-09-28automated generation of .dummy files for each subdirectory;Alexandre Oliva1-1/+0
dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time (This used to be commit 237a8e5fe62d757c04b8207cbbee4df1470cfe4e)
1998-09-25Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1-0/+5
Added $(PROGS) $(SPROGS) as targets for make clean. acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES. configure.in: Added sys/capability.h header check. Added function checks for srandom random srand rand. Added HAVE_IRIX_SPECIFIC_CAPABILITIES test. includes.h: Added #include <sys/capability.h>. ntdomain.h: Moved struct acct_info into here from smb.h smb.h: Added KERNEL_OPLOCK_CAPABILITY define. Moved enum action_type into rpcclient.h Moved struct cli_state into client.h Moved struct nt_client_info, struct tar_client_info, struct client_info into rpcclient.h lib/genrand.c: Changed to use sys_random() & friends. lib/smbrun.c: Lose capabilities after fork. lib/system.c: Added set_process_capability(), set_inherited_process_capability() sys_random(), sys_srandom(). lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an 32 bit mounted NFS filesystem. nmbd/nmbd.c: Changed to use sys_random() & friends. nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends. passdb/ldap.c: Missed one pdb_encode_acct_ctrl call. passdb/passdb.c: Changed to Ander's code for ' ' characters. passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ. script/mkproto.awk: Added 'long' to prototypes. smbd/chgpasswd.c: Lose capabilities after fork. smbd/open.c: Do the mmap *after* the kernel oplock. smbd/oplock.c: Removed stub code from kernel oplock path. Added set_process_capability(), set_inherited_process_capability() calls. smbd/reply.c: Initialize count = 0, offset = 0. smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls. tests/summary.c: Ensure we have RANDOM or RAND. utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ. utils/torture.c: Changed to use sys_random() & friends. Jeremy. (This used to be commit e8be306f23963ac00b1a383ebe0cc1421529fb02)
1998-09-21major autoconf clean-upAlexandre Oliva1-0/+1
fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
1998-09-17configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1-1/+1
widening (I hope :-). include/config.h.in: Added #undef STAT_STATVFS64. include/includes.h: Added SMB_STRUCT_STATVFS type, Changed SMB_BIG_INTEGER to SMB_BIG_UINT and SMB_BIG_INT types. include/smb.h: Added flag defines from CIFS spec. lib/debug.c: Fixed one more mode_t issue. lib/system.c: Added sys_statvfs wrapper. lib/util.c: Changed trim_string to use size_t. param/loadparm.c: Moved "blocking locks" into locking section. Alphabetised locking options. Question - shuld we do this for all options ? passdb/ldap.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/nispass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/smbpass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. smbd/dfree.c: Changed to use 64 bit types if available. Moved to use unsigned types. smbd/dosmode.c: Fixed one more mode_t issue. smbd/negprot.c: Changed literals to be FLAG_ #defines. smbd/nttrans.c: Removed dead code. smbd/open.c: Changed disk_free call. smbd/process.c: Changed literals to be FLAG_ #defines. smbd/reply.c: Changed disk_free call. smbd/trans2.c: Fixed but in SMB_QUERY_FS_VOLUME_INFO call. Was using UNICODE - should use ascii. tests/summary.c: Added STAT_STATVFS64 check. Jeremy. (This used to be commit c512b1b91fb7f2a7a93b9033a33e06d966daadb4)
1998-09-05added a configuration summary at the end of ./configure. It alsoAndrew Tridgell1-0/+28
aborts if essential functions are not available. (This used to be commit 5c7717f033f670f587b4a250d0a663cad30824e5)
1998-09-05expand the sysv shmem test to look for semaphores as well as sharedAndrew Tridgell1-1/+21
memory. Some FreeBSD systems have sysv shared memory but no semaphores! (This used to be commit 3f4959a065ed987a8254903a5aaf6234bb88ad5c)
1998-09-05some people are foolishly running ./configure from other than theAndrew Tridgell1-0/+4
source directory! This adds a new "trivial" test that makes sure that the autoconf tests are working. It aborts the configure run if not. (This used to be commit ead0338ad27f29f1abbbe9f6302d6bf633bf98b2)
1998-07-29ignore the auto-generated dummy fileAndrew Tridgell1-0/+1
(This used to be commit f4c629bde2bbcb0cfa4d6f5cb1aa7edddf569fac)
1998-07-29get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell1-0/+62
time test instead. This also allows us to get rid of the igroups element of a couple of structures. (This used to be commit 8b25fe734166b76ceebf8d9543c706ebe0fddc96)
1998-07-29some merge cleanupsAndrew Tridgell1-0/+0
(This used to be commit 1d655b7c64231b0aec0548bb90fc3dcc3f37791c)
1998-07-29merge from the autoconf2 branch to the main branchAndrew Tridgell6-0/+269
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)