summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
AgeCommit message (Collapse)AuthorFilesLines
2012-02-21s4:torture:smb2: add a durable-open.open-oplock testMichael Adam1-0/+85
this is a variant of the open-lease test that does the initial durable open with a batch oplock instead of a RH lease. This is e.g. useful do analyse a (mis?) behaviour with current windows 8 preview versions, compared to w2k8r2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
2012-02-21s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam1-8/+8
2012-02-21s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam1-5/+7
2012-02-21s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam1-2/+2
in durable-open.open test
2012-02-21s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam1-1/+1
2012-02-20s4:torture:smb2: invalidate the handle after the connection has been killedMichael Adam1-0/+1
Not to run into using the old handle with a new tree connect in the error case. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
2012-02-20s4:torture: improve comment for the smb2.durable-open.reopen1 testMichael Adam1-0/+1
2012-02-13s4:torture: add another SMB2 rename testChristian Ambach1-0/+130
this mimics Word 2010 saving a file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104
2012-02-10s4:torture: add some SMB2 renaming testsChristian Ambach3-1/+843
2012-02-03s4:torture: add a smb2.durable_open.reopen4 testMichael Adam1-0/+89
open a durable handle, logoff, new sessions setup, try durable reopen (fail), open tcon, durable reopen (succeed) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
2012-02-03s4:torture: add a torture_smb2_session_setup() utility functionMichael Adam1-0/+31
2012-02-03s4:torture: add smb2.durable_open test reopen3Michael Adam1-0/+68
Do a durable open, tdis, tree_connect, durable reopen -> fail
2012-02-03s4:torture: add torture_smb2_tree_connect() utility functionMichael Adam1-0/+42
This does a tcon based on an existing session, using the name an host present in the torture context.
2012-02-03s4:torture: add smb2.durable_open test reopen2Michael Adam1-0/+71
durable open, disconnect, new seession, durable reopen
2012-02-03s4:torture: add smb2.durable_open test reopen1Michael Adam1-0/+57
2012-02-03s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam1-1/+1
instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()Michael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:torture:smb2: check for success of talloc in secondary_tcon()Michael Adam1-0/+4
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:torture:smb2:notify: remove an unused variableMichael Adam1-2/+0
2012-02-03s4:torture:smb2:notify: remove an unused variableMichael Adam1-2/+0
2012-02-03s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()Michael Adam1-2/+0
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher1-9/+10
metze
2011-11-24s4:torture/smb2: use tctx->ev as event context for pollingStefan Metzmacher3-8/+7
metze
2011-11-09s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam1-26/+7
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam1-23/+3
2011-11-09s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam1-29/+6
2011-11-09s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam1-19/+3
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam1-18/+2
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam1-26/+6
smb2_lease_create_share()
2011-11-09s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam1-21/+6
smb2_oplock_create_share()
2011-11-09s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam1-2/+8
parameter
2011-11-09s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam1-2/+12
parameter
2011-11-09s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam1-7/+17
sharemode as parameter
2011-11-09s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2-54/+57
util.c for re-use
2011-11-09s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam1-38/+38
convenience
2011-11-09s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2-6/+6
2011-11-09s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2-35/+36
util.c for re-use
2011-11-09s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2-24/+25
2011-11-09s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam1-55/+34
2011-11-09s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2-24/+25
2011-11-09s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam1-0/+1
lease.multibreak test
2011-11-09s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam1-3/+7
2011-11-09s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam1-1/+1
to a more reasonable name. This one must have been copied from the durable-open.lease test.
2011-11-01s4:torture:smb2: add a new durable-open.upgrade2 test to test all upgrade ↵Michael Adam1-0/+90
combinations Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 1 04:58:03 CET 2011 on sn-devel-104
2011-11-01s4:torture:smb2: expand durable-open.open2 test matrix by all share-modesMichael Adam1-9/+48
2011-11-01s4:torture:smb2: expand durable-open.open1 test matrix by all share-modesMichael Adam1-8/+62
2011-11-01s4:torture:smb2: rename the durable-open.basic2 test to durable-open.open2 ↵Michael Adam1-14/+14
for clarity
2011-11-01s4:torture:smb2: rename the durable-open.basic1 test to durable-open.open1 ↵Michael Adam1-14/+14
for clarity
2011-10-31s4:torture/smb2: fix compound.invalid2 against windowsStefan Metzmacher1-2/+2
Tested against w2k8r2 with signing and win8pre0 without signing. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 21:40:25 CET 2011 on sn-devel-104
2011-10-31s4-torture: smb2 copychunk data integrity checksDavid Disseldorp1-0/+72
Perform simple integrity checks on destination file data following a successful copychunk request. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 19:28:20 CET 2011 on sn-devel-104