summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10912: added a test for supporting batch oplock upgradesAndrew Tridgell1-0/+14
(This used to be commit 1183af06b70a06ef7a1af665567560e9158fc960)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher2-5/+7
stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10r10257: strlen returns a size_t which can be 64 bits long.Tim Potter1-2/+2
(This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9)
2007-10-10r10132: Confirm that openX with OPEN_EXEC implies read only.Jeremy Allison1-0/+26
Jeremy. (This used to be commit da70b2ab2df6d8239811b12b471c578cbff6dca8)
2007-10-10r9876: Fix some 64-bit warnings for Itanium machine.Tim Potter2-4/+4
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)
2007-10-10r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinkingJelmer Vernooij1-2/+2
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
2007-10-10r9584: Fix a race condition in Samba 3. If two files are opened ↵Volker Lendecke1-0/+126
simultaneously with NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with two or more times NT_STATUS_OK as EEXIST is not correctly handled. Jeremy, please look closely at this. You can easily verify this by adding a smb_msleep(100) to the top of open_file_ntcreate and run the new samba4 torture test. It does also happen without the msleep, but not as reliably. Thanks, Volker (This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)
2007-10-10r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw functionTim Potter1-2/+2
names. (This used to be commit 26b191b3c9529b2dae5d004819dab46657064408)
2007-10-10r9121: use the older non-passthru level for setting delete on closeAndrew Tridgell1-2/+2
disposition in the RAW-UNLINK test (this allows it to work with netapp servers) (This used to be commit 4f9cfd10bf92e5abf3c09bb0bf6cca3dfc3b6dfb)
2007-10-10r9046: fixed display of privileges in RAW-ACLS testAndrew Tridgell1-2/+2
(This used to be commit 0ab907af6a4c3d1adbafccdb1bd4150c491bcba4)
2007-10-10r9045: be friendly towards servers that don't understand the 'share' form ↵Andrew Tridgell1-2/+4
for tconx, instead of the \\server\share form (This used to be commit 02a78d06e1018087859c9ec65b792b1ffcfd3981)
2007-10-10r9044: added a comment so you can see what this test does :-)Andrew Tridgell1-1/+2
(This used to be commit ee2744160892f28390662f4934dc4135e4378d78)
2007-10-10r9043: fixed return code in RAW-STREAMS testAndrew Tridgell1-1/+1
(This used to be commit 45e41010da19cafc9d50369c2d311a42e5172eb7)
2007-10-10r9042: fixed the valgrind error in the RAW-SFILEINFO testAndrew Tridgell1-0/+9
(This used to be commit eaf079e33f3e2d933b7310cf076d572b6988cbb4)
2007-10-10r9008: check the return status for the directory handle creationsAndrew Tridgell2-8/+21
(This used to be commit 57e44300f73bbf190a0282925591b7dd1dfc2b6b)
2007-10-10r9006: expanded RAW-UNLINK test to test directory delete on close with ↵Andrew Tridgell1-0/+104
non-empty directory, as per discussions during jeremys talk at cifs2005 (This used to be commit b28b2108c7f3e94fb47a706fb1d550354074730d)
2007-10-10r9003: add testing for non-empty directory delete on closeAndrew Tridgell1-1/+30
(This used to be commit caca1f191d23ef848d3c8da76e8a0e80a06dacef)
2007-10-10r8773: fixed another dependency on directory ordering in RAW-SEARCHAndrew Tridgell1-1/+3
Thanks to andrew bartlett for helping to track this down (his was the only system that hit this) (This used to be commit 5edeb56bf0c86dae9cd9fe9275d1e37aedc05503)
2007-10-10r8729: make the RAW-SEARCH test more robust to servers with hash based ↵Andrew Tridgell1-8/+5
directory ordering (This used to be commit 8c4d0cd7b7063116ab08545dbe5f23390c7973c4)
2007-10-10r8712: cleanup old search test code to use tallocAndrew Tridgell1-16/+18
(This used to be commit 1d830bcd473a2166b6f89281faabb001697e35d4)
2007-10-10r8709: fixed the assumption in RAW-SEARCH that directories are returned in ↵Andrew Tridgell1-1/+10
sorted order (This used to be commit 92afff5fe7134872f12c25628d047b2a92e92a37)
2007-10-10r8634: we are still getting occasional test failures due to disk spaceAndrew Tridgell1-1/+1
changing. I suspect it is a signed/unsigned problem with the approx equal test. Hopefully this will fix it. (This used to be commit 668dd29259198698c556c50e28a9070085db89ea)
2007-10-10r8537: cope better with the small file handle limit on some systems in the ↵Andrew Tridgell1-2/+2
build farm (This used to be commit 6202a9d099619a0ba78809647039cbc7622f1d3d)
2007-10-10r8522: fixed another couple of size_t warningsAndrew Tridgell1-1/+1
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell4-8/+8
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8497: prevent a fd leak in RAW-SEARCH testAndrew Tridgell1-1/+1
(This used to be commit efb151ba797a5473316ca2dc9ec7f40fead9dab2)
2007-10-10r8495: allow for up 10% change in allocated disk space during QFSINFO testsAndrew Tridgell1-2/+10
(This used to be commit 16d752b55189780a038aed1d54ef28201a9859a4)
2007-10-10r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on ↵Andrew Tridgell1-0/+2
different platforms (This used to be commit 9264555541a0e251730010a75d063f56971249a2)
2007-10-10r8491: lower the offset limit that filesystems need to support to pass ↵Andrew Tridgell1-1/+1
RAW-WRITE to 2^33 (This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)
2007-10-10r8229: A level2 oplock does not conflict a no-oplock open, but is broken on ↵Volker Lendecke1-0/+119
first write. Test that. Volker (This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
2007-10-10r8185: Delete on close on directories:Volker Lendecke1-4/+5
Creating a file in a directory with delete-on-close set returns DELETE_PENDING, and trying to set the flag on a non-empty directory returns DIRECTORY_NOT_EMPTY. Volker (This used to be commit 5680f34778b2f5291936f4d4fb937a7713696c52)
2007-10-10r8176: Exploring the share mode database...Volker Lendecke1-9/+11
A delete-on-close deleted file is still around while open on another fd. But only for findfirst, not for qpathinfo :-) Volker (This used to be commit dbc7a1a978d782c73f593f4b46f2a81d35169713)
2007-10-10r8174: Check DOS error codes in torture chkpath test.Jeremy Allison1-64/+64
Jeremy. (This used to be commit ff58ecad044dc7a3cdb4c010ea5cc1ea5e2e4b3b)
2007-10-10r8123: fixed the RAW-NOTIFY and RAW-QFSINFO tests against w2k3Andrew Tridgell2-1/+4
(This used to be commit acd9fad3a4c578e20cd4bdb79a000a7ff70f680c)
2007-10-10r8122: more fixes from testing dos error code handling against w2k3Andrew Tridgell2-4/+4
(This used to be commit b71fbcf5e2c627d918aef555b8cc8dd4591d8fe7)
2007-10-10r8118: remove a debugging hack that should not have been in the last commitAndrew Tridgell1-1/+1
(This used to be commit 0f76449a08955cfe50178b6accfd631d7cf42da3)
2007-10-10r8117: fixed a bunch more dos error code handing.Andrew Tridgell3-10/+9
The biggest change was fixing the RAW-CONTEXT test. It was forcing capabilities to zero in an attempt to not negotiated extended security, but as a side effect it was forcing negotiation of dos error codes. This confused the hell out of the test code! Also fixed a bunch of places incorrectly using NT_STATUS_V() instead of NT_STATUS_EQUAL() and several places that had the wrong dos status codes (This used to be commit 0b22744f40804a0d6dc94bfc40ec09306f584f7e)
2007-10-10r8107: now that we properly separate DOS and NT status codes all the placesAndrew Tridgell1-2/+2
that relied on the mapping need to be fixed. The first thing is to get all the torture tests working against w2k3 again with nt status codes enabled. The 2nd step will be to make them pass with nt status disabled. This starts on the first task, fixing the assumption that NT_STATUS_INVALID_LOCK_SEQUENCE is a valid substitute for ERRDOS:ERRbadaccess (This used to be commit 87cdd117081193d215c5a9e3603438e058ad777b)
2007-10-10r8104: - added support for our client library to not negotiate nt status ↵Andrew Tridgell1-2/+2
codes, controlled with 'nt status support' option. - make nt_errstr() display nice strings for dos status codes encoded using NT_STATUS_DOS() - no longer map between dos and nt status codes in the client library, instead return using NT_STATUS_DOS() - fixed the RAW-CONTEXT test to look for NT_STATUS_DOS(ERRSRV, ERRbaduid) instead of NT_STATUS_INVALID_HANDLE (This used to be commit ff5549e87ffae9f062394f30d8fd1ae95b614735)
2007-10-10r8058: added testing of delete on close for files and directoriesAndrew Tridgell1-3/+87
(This used to be commit 214e51b3c8021dfe31ad951603bae64fa281b0f8)
2007-10-10r8051: separate out the MAX EAs test, as it fills disk too much to be run ↵Andrew Tridgell1-2/+29
regularly (This used to be commit dac526845ea89ba732300105b3f82210b0828102)
2007-10-10r8004: added a maximum EAs size test from Kukks.Andrew Tridgell1-1/+228
(This used to be commit 426c4d08ac9191c02dcd604a21ea390b7d255a41)
2007-10-10r7899: fixed a crash bug in the RAW-CONTEXT testAndrew Tridgell1-2/+0
(This used to be commit 470ad9a93fcbf961d7d89fd96f751ded39660f74)
2007-10-10r7675: Use correct memory context for anonymous session setup auth contextAndrew Bartlett1-0/+21
(no need for it to hang around forever). Add test for this behaviour. Andrew Bartlett (This used to be commit 36dc2491d778fbbff32c4abdf95faa9f83024e12)
2007-10-10r7487: check both files before and after setting the attribs on file1Stefan Metzmacher1-0/+7
metze (This used to be commit 376c0560e0cb453fa8a378ff2983b34310956ae8)
2007-10-10r6676: Fix unused variable.Tim Potter1-2/+0
(This used to be commit 699e0adf4cba1473b48ff38c8043dbc36bc43560)
2007-10-10r6675: Fix printf warning.Tim Potter1-1/+1
(This used to be commit 513fc9c24493e007a9e4d034ca05657897a5eac2)
2007-10-10r6581: improved the error message for RAW-LOCK timeoutsAndrew Tridgell1-1/+3
(This used to be commit 13ab07214e33e16d873befb3c34ed149d11a09ab)
2007-10-10r6352: Two new composite calls:Alexander Bokovoy1-0/+187
- qfsinfo (query file system information) - appendacl (append an ACL to existing file's security descriptor and get new full ACL) The second one also includes an improvement to security descriptor handling which allows to copy security descriptor. Written by Peter Novodvorsky <peter.novodvorsky@ru.ibm.com> Both functions have corresponding torture tests added. Tested under valgrind and work against Samba 4 and Windows XP. ToDo: document composite call creation process in prog_guide.txt (This used to be commit 441cff62ac75ed16851ce7b8daf9d03eb4c3ec79)
2007-10-10r6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machinesAndrew Tridgell1-10/+10
Thanks to lars and agruen for finding this (This used to be commit 2acc06918574b1178eecf3d61026f84f85bb40e1)