summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3207: - reformat error msgs in BASE-DIR* testsAndrew Tridgell1-10/+14
- added support for mandatory attributes in old style directory search - we now pass BASE-DIR1 and BASE-DIR2 (This used to be commit efaa0eaec49e952aa515c3448246d9048a484c26)
2007-10-10r3206: - added the reverse map for ERRbaduid to NT_STATUS_INVALID_HANDLEAndrew Tridgell1-0/+2
- force disable spnego in the RAW-CONTEXT test (it breaks the test) (This used to be commit 3f247ec21c59af92b420a3e550552b5a1f1f08e2)
2007-10-10r3203: moved more test functions into torture/basic/*.cAndrew Tridgell4-211/+239
the idea is that torture/torture.c should eventually be just the harness code, which will make it easier to read (This used to be commit eca85d26ed744563d1bbb8dd10a819d39fdc495b)
2007-10-10r3199: added a couple more test paths to RAW-CHKPATHAndrew Tridgell1-0/+10
(This used to be commit 17f10a39c858a5a6e128f3f827d83687c5ba7d90)
2007-10-10r3198: check for too many .. components in filenamesAndrew Tridgell1-2/+2
pvfs now passes RAW-MKDIR (This used to be commit 41adb385f123b8d4cd3fe2eb03d891b6bdcf2361)
2007-10-10r3191: use __location__ in RAW-UNLINK testAndrew Tridgell1-2/+2
(This used to be commit fb1929743aae5ca758ee6757aaf772754459f683)
2007-10-10r3188: tidy up the rename test a bit moreAndrew Tridgell1-4/+10
(This used to be commit 3f6077591646d70ab544fb44a93333c05338dbfa)
2007-10-10r3182: separate out the BASE-RENAME test into torture/basic/rename.cAndrew Tridgell3-96/+130
(This used to be commit c5e72b05d73ff0d57a98b6065bab573e2a226747)
2007-10-10r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfsAndrew Tridgell1-6/+6
- RAW-CONTEXT test now passes (This used to be commit 0dae9fef09ec8bce19c39a0caf36e0882e507bc4)
2007-10-10r3173: make the RAW-QFILEINFO test cope better with null strings from the serverAndrew Tridgell1-4/+4
(This used to be commit a10fca41de7e19e610bf9fd0a854b7b35d652561)
2007-10-10r3168: Use generic function for looking up endpointsJelmer Vernooij2-2/+2
(This used to be commit 45a3e2a9815058a3a828c573573c5eee605f9129)
2007-10-10r3167: Add a member 'endpoint' to the dcerpc_binding struct to use instead ofJelmer Vernooij3-28/+7
options[0]. (This used to be commit 18582083af800abd3d8de40eb73255c8ae6598dd)
2007-10-10r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: ↵Jelmer Vernooij1-5/+2
transports. ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets. (This used to be commit b15cfbe2512961a199ecb069730d9a19787579f5)
2007-10-10r3157: Add ncacn_httpJelmer Vernooij1-0/+6
(This used to be commit a0c4138edf919ee0c4b236f201c09fc4deb2cc09)
2007-10-10r3156: Couple of fixes in the conversion functions between binding structs andJelmer Vernooij2-2/+5
protocol towers (This used to be commit f41dfc6c5a85bf241e4bcc0669f6191bf531e89a)
2007-10-10r3155: reformat a delete testAndrew Tridgell1-3/+5
(This used to be commit 739c9e401cfbe04f2596e5b4b178243263218c04)
2007-10-10r3152: reformatted some of the delete test codeAndrew Tridgell1-12/+22
(This used to be commit d7b0dece6fbc2b5f8216b6a6a41e3db76b8627aa)
2007-10-10r3150: printing __location__ is more useful than a operation numberAndrew Tridgell1-57/+117
(This used to be commit 022b21460a572803b86ef5c11f6fe0b6fa1dcae1)
2007-10-10r3149: separate the delete on close test into torture/basic/delete.cAndrew Tridgell3-501/+527
(This used to be commit 50379a0a58d9eade3e1390713ef89473c66e65fc)
2007-10-10r3148: make --failures work for the BASE-DENY1 and BASE-DENY2 testsAndrew Tridgell1-11/+20
(This used to be commit 6e87feb89c57ca900ef4125e48f5de5ff80ff7b9)
2007-10-10r3136: - Allow specifying socket type when adding smbd serviceJelmer Vernooij2-3/+3
- Make sure a epm_tower struct is completely initialized - Some more minor fixes (This used to be commit d560dcbdb85cb2c6915bdb9e2f82f1872b0f5a52)
2007-10-10r3130: - added a LOCAL-IDTREE test suiteAndrew Tridgell3-1/+103
- made idtree return a "struct idr_context *" instead of a void* - more efficient idr_remove for ids that are not present (patch from Jim Houston) (This used to be commit f8d12d4b4ae5a38de7869deb782cb8f48504844c)
2007-10-10r3125: Store object UUID directly instead of using a pointer (struct ↵Jelmer Vernooij1-0/+10
dcerpc_binding) Let test fail if messaging_init() fails instead of generating segfault in the LOCAL-MESSAGING test (This used to be commit 0609f410ef756501d50c04b544387ae547fcd63c)
2007-10-10r3124: Add dcerpc_binding_from_tower()Jelmer Vernooij1-17/+59
Add tests for dcerpc_binding_from_tower() (This used to be commit 88c6d34bba1a409127b26f86bd963bfab30a804c)
2007-10-10r3123: Add dcerpc_binding_build_tower()Jelmer Vernooij3-1/+84
Add local test for testing the functions dcerpc_parse_binding(), dcerpc_binding_string() and dcerpc_binding_build_tower() (This used to be commit 7a07c2c769b8e51178789eed4a31577f5d39f63a)
2007-10-10r3112: Fix two more instances of epm_towers (sorry, metze!)Jelmer Vernooij1-1/+1
(This used to be commit 7baf493966aa3fb61623d6030b5ccc26a5fcb186)
2007-10-10r3111: Add a few more protocol identifiers, rhs for ncalrpcJelmer Vernooij1-28/+28
(This used to be commit 53567a83cbca9df60bef76a15df24d2cd89a16b0)
2007-10-10r3108: try to cope with servers that put FILE_ATTRIBUTE_NONINDEXED on files ↵Andrew Tridgell1-11/+15
in the RAW-OPEN test (This used to be commit bed7d12f266b6aa6d4f694dd74a2c6134cd72663)
2007-10-10r3105: using __location__ instead of __LINE__ to give info on error ↵Andrew Tridgell1-25/+25
locations is more useful (This used to be commit 80dd22a1f1aea27312b3cd06addf50e7c288259e)
2007-10-10r3104: My Win2k3 server, with current updates, still sends the LM key for ↵Andrew Bartlett1-1/+1
level 6. I'm not quite sure what's going on here, but adjust expected values till I can find out how to reproduce this the other way... Andrew Bartlett (This used to be commit 3f0f6b38f2401e3654f73f46a22d5c10fbacaeca)
2007-10-10r3085: make the RAW-WRITE tests more robust to errors in previous parts of ↵Andrew Tridgell1-19/+19
the test (This used to be commit 6ea815b6d426d37723a200226cb5f7236a13017f)
2007-10-10r3079: make code more pretty :-)Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit 9c911b361c4dbb058eb48150c113c2e95b8053da)
2007-10-10r3074: Add in a new 'field present' flag samr.idl for the Account FlagsAndrew Bartlett1-43/+192
field. Add torture test for setting this feild - including all the odd cases (not all the flags 'stick', and not others cannot be removed). Seperate the two 'password change' flags, and test them both in the torture code. Check that the password did change after every password set call. Andrew Bartlett (This used to be commit 3759128bd33b802d5213d50ba25f7c7d11cfe1d7)
2007-10-10r3057: - moved the idtree.c code into lib/Andrew Tridgell1-2/+0
- converted the tid handling to use a idtree instead of bitmaps (This used to be commit 4220914179d10132057216650b65ed7f7679717e)
2007-10-10r3053: make the maxfid test use subdirectories, so it doesn't create 64kAndrew Tridgell1-6/+46
files in one directory (running the test was very slow) and can clean up after itself easily. (This used to be commit 6dea60e3b9a1d2557e8a5be505a5052dc9847a8f)
2007-10-10r3045: Allow object-uuid@... binding stringsJelmer Vernooij1-1/+13
(This used to be commit 38e9290bcf0295fb2a68090061310a4a8cb6c490)
2007-10-10r3040: Add sleeps between operations to nbench. Submitted by ↵Jim McDonough2-0/+8
aliguori@us.ibm.com. (This used to be commit b1bbf0a431a9bcfc786b773be1adf39eaccb0b6e)
2007-10-10r3034: - fixed a bug in message dispatch, when the dispatch function called ↵Andrew Tridgell1-1/+130
messaging_deregister() - added a pvfs_lock_close_pending() hook to remove pending locks on file close - fixed the private ptr argument to messaging_deregister() in pvfs_wait - fixed a bug in continuing lock requests after a lock that is blocking a pending lock is removed - removed bogus brl_unlock() call in lock continue - corrected error code for LOCKING_ANDX_CHANGE_LOCKTYPE - expanded the lock cancel test suite to test lock cancel by unlock and by close - added a testsuite for LOCKING_ANDX_CHANGE_LOCKTYPE (This used to be commit 5ef80f034d4aa4dd6810532c63ad041bfc019cb8)
2007-10-10r3030: added testing of lock cancel, and some more special offsets (locksAndrew Tridgell1-17/+235
with the top bit set are special) (This used to be commit f732a983d4fde29d5ad893ad35fd182ee3d8a75b)
2007-10-10r3029: implemented byte range lock timeouts.Andrew Tridgell2-20/+107
This adds a pvfs_wait_message() routine which uses the new messaging system, event timers and talloc destructors to give a nice generic async event handling system with a easy to use interface. The extensions to pvfs_lock.c are based on calls to pvfs_wait_message() routines. We now pass all of our smbtorture locking tests, although while writing this code I have thought of some additonal tests that should be added, particularly for lock cancel operations. I'll work on that soon. This commit also extends the smbtorture lock tests to test the rather weird 0xEEFFFFFF locking semantics that I have discovered in win2003. Win2003 treats the 0xEEFFFFFF boundary as special, and will give different error codes on either side of it. Locks on both sides are allowed, the only difference is which error code is given when a lock is denied. Anyone like to hazard a guess as to why? It has me stumped. (This used to be commit 4395c0557ab175d6a8dd99df03c266325949ffa5)
2007-10-10r3026: - added automatic retry to messages when the servers listen queue isAndrew Tridgell1-8/+11
full. This means callers can just "send and forget" rather than having to check for a temporary failure. The mechanism takes nice advantage of the timed events handling is our events code. A message will only fail now if we completely run out of some resource (such as memory). - changed the test code not to do retries itself, but only to warn on real failures (This used to be commit 8cddc610a25e64c1ad39dd6a2fc2e7f467e04fc9)
2007-10-10r3023: added immediate send of messages when they are first queued. This ↵Andrew Tridgell1-6/+1
makes things a bit more efficient (This used to be commit 8380225d326e4bfb3f15fddc72c097870713132a)
2007-10-10r3021: under heavy load the listen queue for messaging unix domain socket ↵Andrew Tridgell1-12/+24
can fill up, leading to refused connections. The caller needs to retry. This adds testing of the retry in LOCAL-MESSAGING (This used to be commit 2c568d4dc20303061a89c815b9a9a0bafc283633)
2007-10-10r3019: make the LOCAL-MESSAGING test a 2 process testAndrew Tridgell1-13/+47
(This used to be commit 68890247c1247f5f9e299ac1f579052cd022e79f)
2007-10-10r3016: - converted the events code to tallocAndrew Tridgell3-2/+97
- added the new messaging system, based on unix domain sockets. It gets over 10k messages/second on my laptop without any socket cacheing, which is better than I expected. - added a LOCAL-MESSAGING torture test (This used to be commit 3af06478da7ab34a272226d8d9ac87e0a4940cfb)
2007-10-10r3011: separated the locktest code into a separate module in smbtortureAndrew Tridgell3-899/+927
(This used to be commit f4a91be63502c0bb32c52c0558dfc7d4d0a21fae)
2007-10-10r2997: Added delete on close tests for readonly files.Jeremy Allison1-0/+58
Jeremy. (This used to be commit 93efa870400a3f69700e69d30319ffbdbdf94820)
2007-10-10r2992: drsuapi uses WERROR not NTSTATUSStefan Metzmacher1-21/+125
metze (This used to be commit 757f67c08b0b1309d8a0b900539111c7bc430b0e)
2007-10-10r2991: add drsuapi_DsGetDomainControllerInfo() idl and torture testStefan Metzmacher1-2/+84
metze (This used to be commit 98ca7640c59aa8694abde03f5661b8908cf088bb)
2007-10-10r2983: report a failure if a server doesn't update the write time at allAndrew Tridgell1-1/+8
after 2 minutes (This used to be commit b2298a1c5f0330a262ac855479060fd677fe8059)