summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6176: Fix a possibly uninitialised variable warning.Tim Potter1-1/+1
(This used to be commit 3cf5ad4e80f95c302a502a78e2ee1b23524625bf)
2007-10-10r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter1-3/+3
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
2007-10-10r5641: Fix from James Peach @ SGI for oplock2 test.Jeremy Allison1-2/+3
Jeremy. (This used to be commit 69e99d97d1547ec8f8e7f9756b87f211c90557b6)
2007-10-10r5589: Ensure the torture code that uses cli_list and cli_list_oldJeremy Allison1-2/+2
matches the new MS-DFS function prototypes. Should fix the build farm tests. Jeremy. (This used to be commit 3d4d8bb6544abc4959f75bb962d8e1fb3d37a55e)
2007-10-10r5525: Add extra case to torture to test this (we currently fail with the wrongJeremy Allison1-2/+45
error message but we correctly deny the open). Jeremy. (This used to be commit 99b89867c33a2209c42b6610d62ead0cf2af05af)
2007-10-10r4268: Merge fix for bugzilla #2150.Tim Potter1-1/+1
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
2007-10-10r4103: lock timeout is in milliseconds (as in reply.c)Herb Lewis1-1/+1
(This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b)
2007-10-10r1492: Rework our random number generation system.Andrew Bartlett1-1/+1
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett (This used to be commit 36741d3cf53a7bd17d361251f2bb50851cdb035f)
2007-10-10r1328: Fix the buildVolker Lendecke1-1/+1
(This used to be commit 49f3f0412fc3ce0e735455e63b39143765fdde82)
2007-10-10r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replicationJeremy Allison1-2/+2
sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy. (This used to be commit fbc06831d3a7e8645409158ee1ae1f9f192913a7)
2007-10-10r81: Make EA's case independent - fix smbtorture to test for this.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0661357484a33329c75457527416667feaf57ef9)
2004-03-30Ensure we cope correctly with ea length of zero. Detect torture fail correctly.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 43db249fb814cef99afecd22c20a824d2519faf9)
2004-03-29Setting EA's to zero length deletes them.Jeremy Allison1-1/+28
Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
2004-03-29Fix get/set of EA's in client library. Added torture test for it.Jeremy Allison1-4/+17
Jeremy. (This used to be commit 0d239a9c070bdc1ce2d2806fc02549c4750597aa)
2004-03-27Working (tested) client code for setting EA's by filename and fnum.Jeremy Allison1-0/+55
Now for parsing out the retrieved EA's. Jeremy. (This used to be commit 5eeeee302cec2cc1f6c130ed44be9df028f73cde)
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 McDonough1-4/+4
(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-11-06Final round of printf warnings fixes for the moment.Tim Potter1-10/+14
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-2/+2
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter1-2/+2
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-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-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
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-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 Bartlett1-6/+66
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 Carter1-890/+1357
(This used to be commit 7798c7ee1a2fafa0a4879e550e16027f17ccbbcf)
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-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-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett1-1/+3
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-01-14Merge from HEAD:Andrew Bartlett1-4/+4
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-31/+31
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-11-18Added OPEN test with HIDDEN/NORMAL attributes.Jeremy Allison1-1/+49
Jeremy. (This used to be commit fc5774b075f435dfbf3253e5e6af8afc9ee4ca22)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-2/+153
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-0/+29
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-12merged the mangling test and passdb bugfixes into SAMBA_3_0Andrew Tridgell1-11/+17
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
2002-04-04Fixed some compile warnings.Tim Potter1-2/+2
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
2002-03-28a dodgy fix for a dodgy race condition in smbtorture child startupAndrew Tridgell1-1/+1
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)
2002-03-26Tests for insane open semantics.Jeremy Allison1-7/+68
Jeremy. (This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
2002-03-26Added 5 *NASTY* non-io open tests....Jeremy Allison1-0/+169
Jeremy. (This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
2002-03-23Forgot torture hacks...Jeremy Allison1-5/+1
Jeremy. (This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)
2002-03-23Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison1-0/+69
cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
2002-03-20Correctly increment offset in cli_smbwrite.Jeremy Allison1-9/+23
Jeremy. (This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
2002-03-19the beginning of a test to determine and display a servers propertiesAndrew Tridgell1-0/+31
just shows capabilities at the moment (This used to be commit 76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-5/+5
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-11only try an ordinary file in lock6Andrew Tridgell1-2/+2
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)