summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.h
AgeCommit message (Collapse)AuthorFilesLines
2009-12-07s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty1-0/+6
It appears some newer versions of windows return NT_STATUS_OBJECT_NAME_NOT_FOUND on a createfile when access is denied rather than NT_STATUS_ACCESS_DENIED. I'm not sure how this translates to directory enumeration yet, but for now make this a parameter that can be checked in the various torture tests. This also gets RAW-ACLS and SMB2-CREATE passing against win7.
2009-12-03s4 torture: Make RAW-SEARCH pass against win7Zachary Loafman1-0/+22
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-03s4 torture: Allow some implementations to break from level1 to none with two ↵Tim Prouty1-0/+6
breaks
2009-12-02s4/torture: Add target functionality parameters to SMBv1 BRL testsSteven Danneman1-0/+9
Abstract the server requirements to pass some BRL tests. * The new default for >64bit lock tests, is that the server should return STATUS_INVALID_LOCK_RANGE. * Add parameter for targets that don't implement DENY_DOS
2009-11-17s4/torture: Port SMBv1 Change Notify tests to SMBv2Aravind Srinivasan1-0/+8
* Ported all tests from raw/notify.c to smb2/notify.c * Parameterized the max_buffer_size so it can be set on a per-target basis. * Fixed CHECK macros to use torture_result * Created a SMB2-NOTIFY test suite
2009-11-17torture/smb2: make SMB2 BRL tests pass against W2K8R2Steven Danneman1-0/+8
The BRL tests previously based their results off several bugs in the W2K8 byte range lock code. I've fixed up the tests to pass against Win7 which has fixed these bugs, and assume that the Win7 behavior is the default. I have inverted the test behavior for >63-bit lock requests. The tests previously expected NT_STATUS_OK as their default in this case. I've changed that default to expect STATUS_INVALID_LOCK_RANGE. This may requires some changing of make test to compensate. I've also removed a few test scenarios from VALID-REQUEST in preparation of replacing them with separate tests ported from RAW-LOCK.
2009-10-06s4/torture: Add server target of OneFSSteven Danneman1-0/+23
I've added a "--target=onefs" which lists expected deviation in the OneFS SMB server implementation compared to a Windows machine. I've added this in a generic way using a list of module specific parameters. This list currently only contains the absence of SACL support but will be added to as additional server differences are defined. I'd liked to use this abstraction for defining the differences between a WinXP and Win7 server as well.
2008-11-21Fix include path for installation.Jelmer Vernooij1-1/+1
2008-11-16Move torture directory to top-level.Jelmer Vernooij1-1/+1
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-0/+40
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)