summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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: update uuid_compare test for new behaviourAndrew Tridgell1-2/+11
2009-12-21s4-tort: Test handling of different ATTID values in prefixMap interface.Kamen Mazdrashki1-0/+44
It turns out ATTID values are separated in ranges. Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-drstest: Don't remove temp LDB so it can be reviewed if necessaryKamen Mazdrashki1-1/+0
This test makes temp directory which is not removed so why not just leave LDB also. Signed-off-by: Andrew Tridgell <tridge@samba.org>
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-17s4-smbtorture: skip GetAliasMembership against s4.Günther Deschner1-0/+4
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not figure out why. Guenther
2009-12-17s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.Günther Deschner1-0/+47
Guenther
2009-12-17s4-smbtorture: fix smbtorture after setprinter IDL fixes.Günther Deschner1-4/+4
Guenther
2009-12-16s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.Günther Deschner1-17/+45
Guenther
2009-12-15smbtorture4: Add rpc-samba3-getaliasmembership-0Volker Lendecke2-0/+62
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-15s4 torture: Add SHARE_DELETE to create_directory_handleTim Prouty1-1/+1
Tests explicitly checking share modes should open the dir/file with the share mode they want to test.
2009-12-14torture: add new tests for dfsblobsMatthieu Patou3-1/+52
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14s4-smbtorture: check whether a returned buffer size is a multiple of 4 in ↵Günther Deschner1-0/+80
RPC-SPOOLSS. This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong. Guenther
2009-12-10s4-smbtorture: add more spoolss_EnumPrinterKey tests for local NDR test.Günther Deschner2-0/+18
Guenther
2009-12-10s4-smbtorture: fix and extend enum printerkey test.Günther Deschner2-21/+49
Guenther
2009-12-09s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.Günther Deschner1-14/+26
This demonstrates that s3 still does not have that call implemented correctly. Guenther
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-08s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.Günther Deschner1-42/+73
Guenther
2009-12-08s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.Günther Deschner1-1/+15
Guenther
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 Prouty6-15/+57
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: win 7 doesn't like the sequential_only flag for directoriesTim Prouty1-4/+2
Remove it for now
2009-12-07s4 torture: Port RAW-ACLS tests to SMB2Zack Kirsch6-230/+2419
- The smblsa calls had to be commented out for now and should be fixed later, but they aren't crucial to the test. - The first two tests from RAW-ACLS were already ported to torture_smb2_setinfo() and test_create_acl(). Modifications were made similar to the RAW-ACLS changes. - test_sd_get_set() was ported, but does not pass against XP or Vista; it is not added to the SMB2-ACLS test suite. - printf -> torture_comment / torture_warning / torture_result
2009-12-07s4 torure: Add SMB2 utility functionsZack Kirsch1-2/+105
- Add a torture_setup_dir() equivalent in SMB2, called smb2_util_setup_dir(). - Add verify_sd() and verify_attrib() helper functions for SMB2.
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
2009-12-07s4 torture: Fix the streams create disposition tests to actually return an ↵Tim Prouty1-2/+4
error on failure
2009-12-07s4/torture: add test for zero byte read contention with byte range locksSteven Danneman2-1/+274
2009-12-07s4/torture: fix >80 column spacing issuesSteven Danneman2-9/+10
2009-12-07s4/torture: add delete-on-close test for directoriesAravind Srinivasan1-0/+63
This test opens a directory with delete on close, opens it again, and checks to make sure that the second open returned with NT_STATUS_DELETE_PENDING.
2009-12-07s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass ↵Günther Deschner1-0/+13
at the moment. Guenther
2009-12-07s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.Günther Deschner1-28/+48
Guenther
2009-12-04Make smbtorture4 match Windows behavior.Jeremy Allison1-41/+33
Jeremy.
2009-12-04s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.Günther Deschner1-67/+299
Including new tests for: - spoolss_SetPrinterDataEx - spoolss_DeletePrinterDataEx - spoolss_DeletePrinterKey Guenther
2009-12-03s4 torture: Convert create_complex_file to use BASIC_INFO instead of ↵Zachary Loafman1-20/+26
deprecated command Signed-off-by: Tim Prouty <tprouty@samba.org>