summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2004-03-12Fix build after Jeremy -- yet another place where convert_string() wasn't ↵Alexander Bokovoy1-2/+2
updated (This used to be commit 9acd46ab462cb4aee9938658dda594ef8b8ddcbd)
2004-03-09Given how core this code is, I figure it should have it's own testsuite.Andrew Bartlett1-0/+35
Big thanks to tpot and mbp for showing how easy it can be to write a simple unit test, and for providing the STF. This also changes the strstr_m() code to use strstr_w() (avoiding duplication) and fixes it so that it passes the STF. (We now always restart before doing the unicode run, until sombody can show me why the testsuite is wrong). Andrew Bartlett (This used to be commit a893a324f37e6a171719db8ffffe66df31c2dbaa)
2004-02-26Merging Richard's rename test.Jeremy Allison1-6/+75
Jeremy. (This used to be commit 5646b6c989c6f13fe1149cf24bf8af87fa95b759)
2004-02-23Janitor for tpot...bugzilla #1098, msleep already exists on aixJim McDonough2-6/+6
(This used to be commit 4319df7fdc2d878c509381923cc1db4d731620ba)
2004-02-20Make SMB_FILE_ACCESS_INFORMATION call work correctly.Jeremy Allison1-6/+9
Jeremy. (This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
2004-02-20Make us bug-for-bug compatible with W2K3 - to get delete on close semanticsJeremy Allison1-9/+17
on an initial open the desired_access field *must* contain DELETE_ACCESS, simply having it map from a GENERIC_ALL won't do. Fixes delete on close test. Jeremy. (This used to be commit 5c6f8b1053fd1f170fbb76640649653f8aa80f18)
2003-12-30Fix Bug # 924Volker Lendecke1-2/+11
Volker (This used to be commit 3663ed2b964cc306cfe6b4060b51d991405e720d)
2003-12-19A small fix to torture.c to cleanup the error handling and prevent crashes.Richard Sharpe1-6/+6
I really should clean up the comment as well. (This used to be commit 34351e457a0d9c494653179429fb71453d1d838e)
2003-12-02Two trivial warningsVolker Lendecke1-1/+3
Volker (This used to be commit a13e088493d91d39f730ba4b5138d5c4c5aa113a)
2003-11-06Final round of printf warnings fixes for the moment.Tim Potter3-13/+17
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-1/+1
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-14Enclose usage of st_blksize and st_blocks struct stat members inTim Potter1-0/+12
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>. (This used to be commit 18adfdbe0c6ed79ba8ac07956b1e7abc226556c3)
2003-08-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy1-6/+9
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-26Fix for #150.Alexander Bokovoy1-8/+8
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime. 1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5 2. Make CP850 charset module shared and build it by default Should fix Solaris run-time (This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-2/+2
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-12Fix for bugid #205 - work by Andrew Bartlet (modified to useJeremy Allison1-1/+1
fixed buffer by me). Jeremy. (This used to be commit 6f68b8de4760a2103eae0a51b2aca356990ea526)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2-3/+3
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter3-5/+5
to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-22Fixup a bunch of printf-style functions and debugs to use unsigned long whenTim Potter4-12/+15
displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings on some of the 64-bit build farm machines as well as help us out when 64-bit uid/gid/pid values come along. (This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
2003-07-10i guess i'm the only one this ever annyoed...Gerald Carter1-2/+2
fix the confusion when we tdb_lock_bystring() but we retrieve an entry using tdb_fetch_by_string. It's now always tdb.*bystring() (This used to be commit 66359531b89368939f0e8f584a45844b5f2f99e7)
2003-07-04More conversions I missed. Thanks metze.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
2003-07-04Fixed strlower changes I missed. Pointed out by metze.Jeremy Allison1-2/+2
Jeremy (This used to be commit da5ee2b765fc321b14e92eb27bde8ec8930b61d4)
2003-06-26Move up intialisation of logging, so we catch errors in handling 'preload ↵Jelmer Vernooij1-4/+4
modules' (This used to be commit 13b81d0d92b9e28eaab18f5437060e79f6075f9e)
2003-06-20Back out some of the changes to nsstest. I've kept the NULL pointerTim Potter1-138/+8
dereference bugfixes but left out the gethostbyname (wins) tests pending a nicer way to integrate it. (This used to be commit a7e67aaffe13b2828861046013b51d62aa1db057)
2003-06-16Update nsstest to cope with wins NSS module as well as winbind NSSTim Potter1-12/+183
module. Use "wins" as the nss name to invoke this behaviour. Also, fixed nsstest so it doesn't segfault when a nss function can't be dlopened(). Log an error and abort the test gracefully instead. (This used to be commit 66bafbe371359bbdec402ae47bc15024bec33f4e)
2003-06-10fixed smbtorture LOCK1 test to know about the correct multiplier forAndrew Tridgell1-2/+3
timed blocking locks (This used to be commit 24feb1afa621c4f93135f36e635af08abe8e7c24)
2003-06-04Fix compiler warnings for vfstest. Patch from Stefan Metzmacher ↵Alexander Bokovoy1-2/+3
<mezte@metzemix.de> (This used to be commit db255608f15c447596c336dbdafb56fb9308e9c5)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy1-33/+33
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-11Fix VFS layer:Alexander Bokovoy3-113/+105
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij9-22/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij9-0/+22
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-03Fix use of uninitialised value in TCONDEV test - found by sun1 on the build farmAndrew Bartlett1-1/+1
(This used to be commit 0dfeaf4535bb1b2345dfd51208c51ce5069ea154)
2003-04-27Add 'smbiconv' program - a clone of the 'iconv' utilityJelmer Vernooij1-0/+243
that uses samba's internal iconv() functions. Useful for testing purposes. (This used to be commit ccabb7961a15c06a315bdb9ff1a79834864f67e7)
2003-04-23Add a check to ensure that the server returns the correct device type, notAndrew Bartlett1-11/+20
just the correct error. This should help us avoid breaking NT4 IPC$ connections, for example. This has required that we don't overwrite the device type for IPC$ in our tcon&X code, but only smbwrapper even uses it, and a server that doesn't send a correct dev type breaks other things pretty badly. In any case, I'll 'fix' smbwrapper :-). Andrew Bartlett (This used to be commit a93057efcb6e639be05b7bdcb9729ed8f39f5f62)
2003-04-23Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett7-89/+171
merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
2003-04-18fixing torture build by merging code from HEADGerald Carter2-892/+1359
(This used to be commit 7798c7ee1a2fafa0a4879e550e16027f17ccbbcf)
2003-04-15merge in metze' smbcquotas patch from HEADGerald Carter1-2/+2
(This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
2003-04-14Fix popt usage (backport from HEAD)Jelmer Vernooij1-35/+9
(This used to be commit 89a25ef20d10e20e70b11bba56add4708f62051f)
2003-04-13This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+86
used to be commit 381649916ecbaddefbb6ee0e6137b7cc73eb54b1)
2003-04-11smbcquota patch from metzeGerald Carter3-81/+84
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-10Added using different cnum test. WinXP and Samba now pass - Win2k fails.Jeremy Allison1-3/+23
Jeremy. (This used to be commit bc094789b972ac5ccc7ea3944c7ddb98581cf613)
2003-04-09Ensure we have WinXP-like semantics for checking TIDs and FIDs.Jeremy Allison1-0/+65
Add torture test to ensure this is so. Jeremy. (This used to be commit e07dd4d93d2bf6ed83dd055efd29d11f5cd66a36)
2003-04-09Set character set to default (UTF-8) before running tests.Martin Pool1-0/+3
(This used to be commit b20d8b49701b532d4770197c5d08fa092234bf8e)
2003-04-09t_push_ucs2, t_strcmp: Run tests only once by default, rather thanMartin Pool2-6/+12
10000 times. (In theory they should be pure functions....) You can specify a parameter to repeat them if you want to e.g. measure performance. (This used to be commit 92acecd28c3374abcadbff0ab9cb765411f453f4)
2003-04-08Integrate abartlet's t_push_ucs2 test into test framework:Martin Pool1-2/+6
- Build t_push_ucs2 as part of check-programs, the prerequisite for "make check". - t_push_ucs2.c: Load configuration from /dev/null so that we get a unix_charset of UTF-8 and can do meaningful UCS2 tests. Better comment. - Add a test to strings.py which tries conversion UTF8->UCS2->UTF8 and checks the results. Do this for English, Latin-1, and Katakana strings. - Add Python module with symbolic names for a handful of UNICODE characters. (This used to be commit 275e095c92ac74815ab9e388a0e83cdb7ddd85f3)
2003-04-06If the string does not convert back, print the buggy result.Andrew Bartlett1-3/+10
(This used to be commit 98f76325542c0ab2e0bbcf082a15c6f8db27e37c)
2003-04-06Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.Andrew Bartlett1-0/+40
Andrew Bartlett (This used to be commit a60fd29b43537935500f40a32fec553f2b52c0d3)
2003-04-04This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+42
used to be commit cbc42567bed0959cb38d71543becd1ff124cac24)
2003-04-04Test harness that exercises check_dos_char()Martin Pool1-0/+42
(This used to be commit 346c763fd1f5d7ef51ca3f748a276d9982275bfe)
2003-04-01Merge from HEAD to define variable port_to_use. Needed to compile.John Terpstra1-0/+1
(This used to be commit b522892215b12d3f919cb4d1fb99721981710f2a)