summaryrefslogtreecommitdiffstats
path: root/source/tests
Commit message (Collapse)AuthorAgeFilesLines
* configure: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher2008-05-221-93/+0
| | | | | metze (cherry picked from commit 0aef5ed43b81e0cb9b19f21125f270016a311f58)
* configure: Remove lib/repdir.c and related stuffStefan Metzmacher2008-02-291-214/+0
| | | | | | | It was only used in configure, but lib/replace already has a much better version of it. metze
* Remove mmap check from configure.inMichael Adam2008-02-211-68/+0
| | | | | | It is available in libreplace. Michael
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-1010-49/+250
|
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
|
* r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell2007-10-101-2/+2
| | | | not GNU Library General Public License
* r23795: more v2->v3 conversionAndrew Tridgell2007-10-101-1/+1
|
* r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach2007-10-101-0/+1
| | | | failed expression in SMB_ASSERT.
* r22731: - Fix bug #4594.Derrell Lipman2007-10-109-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.
* r22419: Update configure so that we only need one copy of os2_delete.cJames Peach2007-10-101-107/+0
|
* r19941: One copy of this code should be sufficient.James Peach2007-10-101-107/+0
|
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-101-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.
* r14746: Add the Samba4 replacements for opendir/readdir etc. toJeremy Allison2007-10-101-0/+107
| | | | | | | Samba3 - with some 64-bit macro madness. Attempt to fix the broken directory handling in the *BSD-of-the-month club. Jeremy.
* r6586: get rid of a few more compiler warningsHerb Lewis2007-10-102-0/+4
|
* r6319: add prototype so -Wstrict-prototypes will not failHerb Lewis2007-10-101-0/+2
|
* r283: removing --with-cracklib after discussion with abartklet @ sambaXPGerald Carter2007-10-101-12/+0
|
* r39: * importing .cvsignore filesGerald Carter2007-10-101-1/+0
| | | | * updateing WHATSNEW with vl's change
* Finish adding cracklib support - this adds the configure test to enableAndrew Bartlett2004-01-141-0/+7
| | | | | | | it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett
* First stab at cracklib support (password quality checking) in Samba 3.0Andrew Bartlett2004-01-121-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
* Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij2003-10-091-0/+94
| | | | Patch by Stefan Metzmacher <metze@metzemix.de>
* added a simple test to see whether building shared libraries actuallyAndrew Tridgell2001-12-311-0/+6
| | | | works
* Update to work with no crypt available, just like it will in Samba.Jeremy Allison2001-08-071-0/+778
| | | | Jermey.
* Add check for working AF_LOCAL sockets, which are borkenMartin Pool2001-06-262-0/+94
| | | | | on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS.
* allow env variable TESTDIR for directory for fcntl_lock testAndrew Tridgell2001-05-061-0/+4
|
* add an alarm to fcntl test to stop tru64 from freezing on the testAndrew Tridgell2001-05-061-0/+2
|
* use O_EXCL for fcntl_lock.c test in case some fool runs on /tmpAndrew Tridgell2001-05-021-1/+2
|
* added sys/wait.h to fcntl_lock testAndrew Tridgell2001-05-021-0/+4
|
* added error msgs to fcntl_lock testAndrew Tridgell2001-05-021-1/+17
|
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-121-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)
* removed some obsolete configure tests (sysv ipc etc)Andrew Tridgell2000-04-173-138/+0
|
* Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison2000-03-291-0/+96
| | | | | to allow successful build. Jeremy.
* Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison2000-02-071-0/+46
| | | | | Code from Don Badrak <dbadrak@census.gov> Jeremy.
* 2nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1999-12-131-25/+0
| | | | that were in the head branch but weren't in SAMBA_2_0
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-136-7/+34
|
* server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1998-10-221-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.
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-1/+0
|
* automated generation of .dummy files for each subdirectory;Alexandre Oliva1998-09-281-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
* Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1998-09-251-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.
* major autoconf clean-upAlexandre Oliva1998-09-211-0/+1
| | | | fix problems in builds with srcdir!=builddir
* configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1998-09-171-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.
* added a configuration summary at the end of ./configure. It alsoAndrew Tridgell1998-09-051-0/+28
| | | | aborts if essential functions are not available.
* expand the sysv shmem test to look for semaphores as well as sharedAndrew Tridgell1998-09-051-1/+21
| | | | | memory. Some FreeBSD systems have sysv shared memory but no semaphores!
* some people are foolishly running ./configure from other than theAndrew Tridgell1998-09-051-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.
* ignore the auto-generated dummy fileAndrew Tridgell1998-07-291-0/+1
|
* get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell1998-07-291-0/+62
| | | | | time test instead. This also allows us to get rid of the igroups element of a couple of structures.
* some merge cleanupsAndrew Tridgell1998-07-291-0/+0
|
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-296-0/+269