summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3383: avoid multi-part SMBtrans and SMBtrans2 replies until our client ↵Andrew Tridgell3-10/+10
library can handle them properly (they are difficult to do in an async fashion). By choosing trans.in.max_data to fix in the negotiated buffer size a server won't send us multi-part replies. I notice that windows seems to avoid them too :) (This used to be commit e23edf762cace35f937959c9ffbef718431a79b9)
2007-10-10r3348: More registry fixes and additions. The following functions work right ↵Jelmer Vernooij1-6/+16
now against samba 4, at least with a ldb backend: winreg_Open* winreg_OpenKey winreg_EnumKey winreg_DeleteKey winreg_CreateKey (This used to be commit a71d51dd3b136a1bcde1704fe9830985e06bb01b)
2007-10-10r3340: Various fixes in the registry code. Implement the EnumKey callJelmer Vernooij1-0/+12
in the server. (This used to be commit da65a248c292a90342e1394ee4132ef2c7afd3c8)
2007-10-10r3332: Check result codes in some more places...Jelmer Vernooij1-1/+11
(This used to be commit 87833cc75852bfe198c73ba1be67d1d36a43dc99)
2007-10-10r3325: missed one of the torture changes ...Andrew Tridgell1-1/+1
(This used to be commit 1629b593c6ad5a6c0a7dc0cd7588d979db887286)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell64-119/+127
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r3323: more warning reductionsAndrew Tridgell1-1/+1
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r3317: Fix the buildVolker Lendecke1-2/+2
(This used to be commit 5e8fd27d6ec7f44e6e802a2f29ec54e96fa78af0)
2007-10-10r3288: - updated the path processing in pvfs to pass the RAW-CHKPATH test. ThisAndrew Tridgell1-209/+72
rather extensive test reveals some really bizarre error code handling in w2k3. - extended and simplified the RAW-CHKPATH test, making it easier to read (note that Samba3 fails the new tests - jra may wish to look) - marked RAW-CHKPATH as pass for pvfs (This used to be commit 32dccf91cfa5b57f84dd6307720b3f45faa10ae0)
2007-10-10r3278: - rewrote the client side rpc connection code to use lib/socket/Andrew Tridgell1-1/+3
rather than doing everything itself. This greatly simplifies the code, although I really don't like the socket_recv() interface (it always allocates memory for you, which means an extra memcpy in this code) - fixed several bugs in the socket_ipv4.c code, in particular client side code used a non-blocking connect but didn't handle EINPROGRESS, so it had no chance of working. Also fixed the error codes, using map_nt_error_from_unix() - cleaned up and expanded map_nt_error_from_unix() - changed interpret_addr2() to not take a mem_ctx. It makes absolutely no sense to allocate a fixed size 4 byte structure like this. Dozens of places in the code were also using interpret_addr2() incorrectly (precisely because the allocation made no sense) (This used to be commit 7f2c771b0e0e98c5c9e5cf662592d64d34ff1205)
2007-10-10r3276: - allow for more than 256 open old style searches (limit currently ↵Andrew Tridgell1-14/+166
set at an arbitrary 5000) - auto-cleanup old searches that the client forgot to close (common with old searches) - expanded the RAW-SEARCH test to test more than 256 old searches, and old search rewind (w2k3 fails this - it appears to not support rewind on old style searches) (This used to be commit bc83d823b2140a10007490bf0101843a886f99a6)
2007-10-10r3271: use "struct messaging_context *" instead of "void *" in messaging APIAndrew Tridgell1-6/+6
(This used to be commit cc93813e4a09c538ad485dc2b3cb4c9be34f3d18)
2007-10-10r3270: - added another unlink testAndrew Tridgell1-0/+5
- removed BASE-TRANS2 from the list of tests to be worked on (its already in the "passes" list) (This used to be commit 8ba10229c3860b955de698c3e2660cf6d18e2f22)
2007-10-10r3261: added seek to RAW-SEARCH testAndrew Tridgell1-5/+4
(This used to be commit 05530bfb99011db8a00f5debcf8eec19b5e8a5d6)
2007-10-10r3259: expanded the RAW-SEARCH test some moreAndrew Tridgell1-2/+4
(This used to be commit cc58d249f973397bf800c9b56a5d4ab30fcda2b4)
2007-10-10r3257: make the RAW-SEARCH test less sensitive to the servers directory orderingAndrew Tridgell1-6/+7
(This used to be commit 097823bbde94da2a9d9d2afef3a4ed2715bb1f04)
2007-10-10r3254: - expanded the RAW-IOCTL testAndrew Tridgell1-0/+8
- fixed the old ioctl interface to not check handle before failing - pvs now passes RAW-IOCTL (This used to be commit 98f6dbdba46c907039951559ec5f526410fd0039)
2007-10-10r3251: - move the openattr test code into basic/attr.cAndrew Tridgell4-281/+310
- cleaned up the RAW-WRITE test so it passes against w2k3, and gives more useful error messages (This used to be commit d4042c4364b571b9425e1706fc765376160c8a60)
2007-10-10r3245: use __location__ in RAW-SEARCHAndrew Tridgell1-18/+18
(This used to be commit 3d5f7f4ac49227369eced4b7fe9fe3a8e5ecafbb)
2007-10-10r3242: make the RAW-READ test not exercise the 0-0 lock, which is not ↵Andrew Tridgell1-4/+6
deterministic (This used to be commit ecd4e315b99a0f2aa021937308c7b93c33efbd93)
2007-10-10r3236: test a few more combinations in RAW-UNLINKAndrew Tridgell1-0/+27
(This used to be commit 5b239ad57be93fabd50760b12878e32df53e939d)
2007-10-10r3235: try readx beyond 64k in RAW-READAndrew Tridgell1-6/+17
(This used to be commit e07c557eca19c0dc17473090bde45c27953aaf65)
2007-10-10r3218: Fix the buildVolker Lendecke1-1/+1
(This used to be commit 478ba629158e8ce5e15467105b1013ba60f04ec1)
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)