summaryrefslogtreecommitdiffstats
path: root/source4/torture/raw
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/torture: use time_mono for deltas in lock testBjörn Jacke2010-09-101-22/+22
|
* s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer2010-08-271-1/+1
|
* smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach2010-08-171-4/+6
|
* smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach2010-08-111-0/+5
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-168-59/+59
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman2010-07-061-1/+99
| | | | | | | | | MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
* s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan2010-06-241-3/+9
| | | | | | RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan2010-06-211-4/+24
| | | | | | | | | info level Also add a test to make sure setting the directory attribute is disallowed. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan2010-06-151-2/+20
| | | | | | | | | | | * Added two new parameters: raw_search_search and raw_ea_size which can be enabled/disabled based on whether the server supports RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels * Skip unsupported levels from the server and give a warning rather than failing. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty2010-06-151-9/+45
|
* s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman2010-06-141-0/+5
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer2010-05-211-8/+3
|
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-182-3/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-183-4/+1
|
* Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison2010-05-131-1/+7
| | | | Jeremy.
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-1/+1
| | | | | | | | | | | The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
* subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij2010-04-111-13/+13
|
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-1110-92/+93
| | | | | | Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
* s4:torture - remove unused variablesMatthias Dieter Wallnöfer2010-04-061-1/+0
|
* s4-torture: using typeof() is not portableAndrew Tridgell2010-03-311-17/+10
| | | | this failed to compile on solaris8 with cc
* s4-torture: use TYPESAFE_QSORT() in smbtortureAndrew Tridgell2010-02-132-13/+8
|
* s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell2010-02-043-6/+12
| | | | a CONNECTION_RESET is now the normal "client disconnect" status code
* Change uint_t to unsigned int in source4Matt Kraai2010-02-026-45/+45
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/torture: Parameterize output in LOCK tests based off server supportSteven Danneman2010-01-101-47/+73
| | | | | | | | | | | Two new torture parameters: * smbexit_pdu_support: if the Server supports the Exit command * range_not_locked_on_file_close: whether the server returns the NT_STATUS_RANGE_NOT_LOCKED error when a file is closed which has a pending lock request. Windows returns this error, though per the spec, this error should only be returned to an unlock request.
* s4 torture: Add RAW-OPEN-NTCREATEDIR to test error checking for open ↵Tim Prouty2010-01-071-0/+198
| | | | directories as files
* s4/torture: fix small bug in lock testSteven Danneman2010-01-061-0/+1
| | | | Cleanup path should unlock, not cancel existing locked range.
* s4/torture: add more lock cancellation testsSteven Danneman2010-01-061-2/+95
| | | | | * Test the SMB1 behavior when multiple lock ranges are requested, pend, and then are cancelled. The entire LockingAndX request fails.
* s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19Tim Prouty2009-12-211-0/+171
|
* s4 torture: Update raw oplock to use win7 as the baseline for rename oplock ↵Tim Prouty2009-12-211-13/+66
| | | | break behavior
* s4 torture: Be more permissive with share modes for oplock testingTim Prouty2009-12-211-2/+4
| | | | | | | Share modes are tested elsewhere, and there is currently an outstanding issue about share mode contention for nt-passthrough levels: http://lists.samba.org/archive/cifs-protocol/2009-December/001227.html
* s4 torture: Do a better job of closing open files in RAW-OPLOCK.Tim Prouty2009-12-211-5/+4
|
* s4-torture: another unsigned comparison bugAndrew Tridgell2009-12-211-1/+1
|
* s4 torture: Add test to show archive bit behavior with directoriesZachary Loafman2009-12-181-0/+153
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: Fix RAW-STREAMS-DELETE to pass against samba3Tim Prouty2009-12-181-1/+2
|
* s4 torture: RAW-STREAMS-NAMES Make sure the create time of the streams are ↵Tim Prouty2009-12-171-0/+24
| | | | different from the base file
* s4 torture: Add RAW-STREAMS-RENAME3 to show error when trying to overwrite a ↵Tim Prouty2009-12-171-0/+92
| | | | | | | stream with an open handle A normal file overwrite in this case would return NT_STATUS_ACCESS_DENIED, but if a stream is the target NT_STATUS_INVALID_PARAMETER is returned.
* s4 torture: Parameterize streams delete behavior rather than commenting out ↵Tim Prouty2009-12-171-3/+7
| | | | the check.
* s4 torture: RAW-STREAMS-CREATEDISP Use a normal deny modeTim Prouty2009-12-171-1/+1
|
* s4 torture: close handle instead of using exitTim Prouty2009-12-171-1/+1
|
* s4 torture: Add new RAW-SEARCH test to explore strange max count behaviorAravind Srinivasan2009-12-151-0/+75
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: Update RAW-QFILEINFO to only test info levels that are supported ↵Aravind Srinivasan2009-12-151-0/+33
| | | | | | by the server Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: Convert RAW-OPEN to suite formZach Loafman2009-12-152-82/+100
|
* RAW-STREAMS: convert failing tests to torture apiStefan Metzmacher2009-12-081-77/+54
| | | | | | | This is needed as we want to mark failing tests as known failures. metze
* s4 torture: Cleanup RAW-ACLS a bitTim Prouty2009-12-071-2/+4
| | | | | | Don't check SEC_DESC_DACL_AUTO_INHERITED right now Disable RAW-ACLS-INHERITFLAGS for the short term Update samba4's knownfail accordingly
* s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty2009-12-071-7/+22
| | | | | | | | | | 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.
* s4 torture: RAW-ACL ImprovementsZack Kirsch2009-12-072-269/+672
| | | | | | | | | | | | - Change RAW-ACLS test suite so each test can be run individually. - Add verify_sd() and verify_attrib() helper functions. - Change test_nttrans_create() to work for both files and directories. - Fix a segfault in test_inheritance() when the test errors out early. - test_sd_get_set() does not pass against XP or Vista, so it is no longer added to the RAW-ACLS test suite. - Minor fixes to test_inheritance(). - New INHERITFLAGS test, which tests the auto inheritance flags a bit more. - printf -> torture_comment / torture_warning / torture_result
* s4 torture: Convert RAW-STREAMS to a set of test suites rather than a ↵Tim Prouty2009-12-072-173/+206
| | | | monolithic test
* s4 torture: Update RAW-RENAME to pass against win7Tim Prouty2009-12-071-5/+27
|
* s4 torture: Add a new RAW-STREAMS test to simulate the summary tabTim Prouty2009-12-071-0/+96
|
* s4 torture: Fix the streams create disposition tests to actually return an ↵Tim Prouty2009-12-071-2/+4
| | | | error on failure