summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.Günther Deschner1-0/+21
Guenther
2010-09-10s4/torture: use time_mono for deltas in lock testBjörn Jacke1-22/+22
2010-08-27s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer1-1/+1
2010-08-17smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach1-4/+6
2010-08-11smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach1-0/+5
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell8-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>
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman1-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.
2010-06-24s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan1-3/+9
RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-21s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan1-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>
2010-06-15s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan1-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>
2010-06-15s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty1-9/+45
2010-06-14s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman1-0/+5
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-05-21s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer1-8/+3
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij2-3/+0
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij3-4/+1
2010-05-13Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison1-1/+7
Jeremy.
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-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
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-13/+13
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij10-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.
2010-04-06s4:torture - remove unused variablesMatthias Dieter Wallnöfer1-1/+0
2010-03-31s4-torture: using typeof() is not portableAndrew Tridgell1-17/+10
this failed to compile on solaris8 with cc
2010-02-13s4-torture: use TYPESAFE_QSORT() in smbtortureAndrew Tridgell2-13/+8
2010-02-04s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell3-6/+12
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-02Change uint_t to unsigned int in source4Matt Kraai6-45/+45
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-10s4/torture: Parameterize output in LOCK tests based off server supportSteven Danneman1-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.
2010-01-07s4 torture: Add RAW-OPEN-NTCREATEDIR to test error checking for open ↵Tim Prouty1-0/+198
directories as files
2010-01-06s4/torture: fix small bug in lock testSteven Danneman1-0/+1
Cleanup path should unlock, not cancel existing locked range.
2010-01-06s4/torture: add more lock cancellation testsSteven Danneman1-2/+95
* Test the SMB1 behavior when multiple lock ranges are requested, pend, and then are cancelled. The entire LockingAndX request fails.
2009-12-21s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19Tim Prouty1-0/+171
2009-12-21s4 torture: Update raw oplock to use win7 as the baseline for rename oplock ↵Tim Prouty1-13/+66
break behavior
2009-12-21s4 torture: Be more permissive with share modes for oplock testingTim Prouty1-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
2009-12-21s4 torture: Do a better job of closing open files in RAW-OPLOCK.Tim Prouty1-5/+4
2009-12-21s4-torture: another unsigned comparison bugAndrew Tridgell1-1/+1
2009-12-18s4 torture: Add test to show archive bit behavior with directoriesZachary Loafman1-0/+153
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-18s4 torture: Fix RAW-STREAMS-DELETE to pass against samba3Tim Prouty1-1/+2
2009-12-17s4 torture: RAW-STREAMS-NAMES Make sure the create time of the streams are ↵Tim Prouty1-0/+24
different from the base file
2009-12-17s4 torture: Add RAW-STREAMS-RENAME3 to show error when trying to overwrite a ↵Tim Prouty1-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.
2009-12-17s4 torture: Parameterize streams delete behavior rather than commenting out ↵Tim Prouty1-3/+7
the check.
2009-12-17s4 torture: RAW-STREAMS-CREATEDISP Use a normal deny modeTim Prouty1-1/+1
2009-12-17s4 torture: close handle instead of using exitTim Prouty1-1/+1
2009-12-15s4 torture: Add new RAW-SEARCH test to explore strange max count behaviorAravind Srinivasan1-0/+75
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-15s4 torture: Update RAW-QFILEINFO to only test info levels that are supported ↵Aravind Srinivasan1-0/+33
by the server Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-15s4 torture: Convert RAW-OPEN to suite formZach Loafman2-82/+100
2009-12-08RAW-STREAMS: convert failing tests to torture apiStefan Metzmacher1-77/+54
This is needed as we want to mark failing tests as known failures. metze
2009-12-07s4 torture: Cleanup RAW-ACLS a bitTim Prouty1-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
2009-12-07s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty1-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.
2009-12-07s4 torture: RAW-ACL ImprovementsZack Kirsch2-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
2009-12-07s4 torture: Convert RAW-STREAMS to a set of test suites rather than a ↵Tim Prouty2-173/+206
monolithic test
2009-12-07s4 torture: Update RAW-RENAME to pass against win7Tim Prouty1-5/+27
2009-12-07s4 torture: Add a new RAW-STREAMS test to simulate the summary tabTim Prouty1-0/+96