summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-04-01reversed the sense of the TCON test, now that we know that win2003Andrew Tridgell1-10/+10
fixes this. This means that TCON fails on win2000, but passes on Samba and win2003 (This used to be commit 591a500ed77870bc72acb94f2fd24070b7d617b6)
2003-03-30This changes our handling of invalid service types that theVolker Lendecke1-0/+100
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6f94ab8ed50ad171f25e9538417c5074feba164d)
2003-03-30This changes our handling of invalid service types that theVolker Lendecke1-0/+100
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6ab88f31d6773f16baff8421ec9e530461cc8f93)
2003-03-30added simple tests for SMBchkpath and SMBioctlAndrew Tridgell1-0/+142
(This used to be commit ca982a9f1d6485e2d388d4b2e9c13806736ad91e)
2003-03-29updated the TCON test so that win2000 passes. Samba now fails thisAndrew Tridgell1-32/+63
test. It is an interesting test because it shows that win2000 completely ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to do this as we check the VUID and TID fields before we call the SMB specific reply functions. The test also shows that the list of open files must be global to the socket, not specific to a tcon. (This used to be commit be98069c4e5bbfbe3ce66c20f796c2d2324e7511)
2003-03-29added a simple test for the old SMBtcon interfaceAndrew Tridgell1-0/+38
(This used to be commit c95ae394c5dfe5e0fcc658119213b17bcb95fab5)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2-45/+13
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-19Run test 10000 times to make measurement easier.Martin Pool1-2/+7
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)
2003-03-18This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+23
used to be commit f0d009c3e91979b0dc3443e16f3f545bcc64cfda)
2003-03-18The new string macros catch a bug at compile that previously onlyMartin Pool1-0/+7
trapped at runtime, which is great. So we have to try a little harder to provoke an overflow -- which is still caught nicely in developer mode. (This used to be commit cea126f62ad411f5efbebc7c5d39297fd8ef9efb)
2003-03-13show which files we fail to create in the casetable testAndrew Tridgell1-2/+5
(This used to be commit d40e3747cfa2994349aa84568f7b79457341a058)
2003-03-12Update usage message.Martin Pool1-1/+2
(This used to be commit 17f01f6959fb79ba11a56d6869ec9789e3ee2f74)
2003-03-12Add example of string overflow which is now caught in developer mode.Martin Pool1-0/+16
(This used to be commit dcf1705782f5d589120624c90b695b81a0332e6b)
2003-03-11having sticky create times is not a bugAndrew Tridgell1-1/+0
(This used to be commit f283f71104319fa9f1e7d22fc91b8d7224ae157a)
2003-03-11fixed the MANGLE smbtorture test with the new paranoid string codeAndrew Tridgell1-1/+1
(This used to be commit 7be44dbe009a8d831c0720a2649fc871b067beef)
2003-03-11make sure we have an empty directory when we start the utable testAndrew Tridgell1-1/+5
(This used to be commit af415842b80f024ca26b4e3bc52fd73fce0a28f3)
2003-03-10fixed use_oplocks and the timeout in smbtorture startupAndrew Tridgell1-6/+16
(This used to be commit cec1ef09e5009cdac22e6c9ca101a49c5ef36b1a)
2003-03-10added -i option for ignoring dot errors in masktestAndrew Tridgell1-2/+9
(This used to be commit 0f4d1172a6add3f490fca22a45975d2588485146)
2003-03-06Make smbtorture use the same cli_full_connection() framework as the rest ofAndrew Bartlett4-865/+842
Samba. This fixes things like not doing *SMBSERVER etc. Andrew Bartlett (This used to be commit 8863ff863c1da42aa6b8718f315c608d9d9067c6)
2003-03-06FIXME about crash on failure case.Martin Pool1-2/+5
(This used to be commit a387c4209735f8e4c826cad7cb10c5349b2041ec)
2003-03-05Add *SMBSERVER fallback code to smbtorture ...Richard Sharpe1-3/+17
(This used to be commit 460339db2246b0213252ee34f507eb8e55ecbecb)
2003-03-05Add code to allow us to specify the port to connect on when performingRichard Sharpe1-6/+14
a test ... (This used to be commit 1128a2fb4c16681e669efe605ff7d7161a2f7acd)
2003-02-28Add simple test harness that exposes StrCaseCmp for testing.Martin Pool1-0/+20
(This used to be commit ab77beca041595bc3bd70de3a6e1b49159a4964b)
2003-02-25Merge: const fixes.Tim Potter1-1/+2
Merge: add popt_common_version to command line options table. (This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)
2003-02-25More const fixes and flow on fixes from yesterday's const-fest.Tim Potter2-2/+2
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)