summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher2012-10-191-3/+11
| | | | | | | | | This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam <obnox@samba.org>
* smbd: Add mem_ctx to {f,}get_nt_acl VFS callAndrew Bartlett2012-10-111-2/+6
| | | | | | | | | | | This makes it clear which context the returned SD is allocated on, as a number of callers do not want it on talloc_tos(). As the ACL transformation allocates and then no longer needs a great deal of memory, a talloc_stackframe() call is used to contain the memory that is not returned further up the stack. Andrew Bartlett
* smbd: Add mem_ctx to sys_acl_init() and all callersAndrew Bartlett2012-10-111-2/+2
| | | | | | | | | | This changes from allocation on NULL to allocation on the supplied memory context. Currently that supplied context is talloc_tos() at the the final consumer of the ACL. Andrew Bartlett
* s3: Add two tests a CLEAR_IF_FIRST crashVolker Lendecke2012-10-061-0/+56
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sat Oct 6 17:16:39 CEST 2012 on sn-devel-104
* s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2012-08-171-6/+11
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-161-10/+35
| | | | | | | | | | | This does not check for consistency or correctness yet, that will be done with python unit tests. The purpose of this test is to ensure that the vfstest wrapper doesn't crash. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
* s3-torture: Add ACL commands to vfstestAndrew Bartlett2012-08-161-0/+311
| | | | | | This will allow easier investigation of our ACL layer. Andrew Bartlett
* s3-torture: Use talloc more in vfstestAndrew Bartlett2012-08-162-29/+25
| | | | | | This matches the rest of Samba, which allocates many of these structures with talloc. Andrew Bartlett
* s3-torture: Initialise fsp fully in vfstest openAndrew Bartlett2012-08-161-0/+34
|
* Correctly check for errors in strlower_m() returns.Jeremy Allison2012-08-091-2/+2
|
* Check error returns from strupper_m() (in all reasonable places).Jeremy Allison2012-08-091-1/+1
|
* s3:torture:delete: add a 12th subtest to the delete-on-close testsMichael Adam2012-08-091-0/+98
| | | | | | test whether second open is possible with initial delete on close and how setting and unsetting delete on close on the handle affects the initial delete on close (it does not...)
* s3:torture:delete: fix 11th test to work against windowsMichael Adam2012-08-091-9/+6
|
* s3:torture:delete: simplify return code handling, fixing a couple of return ↵Michael Adam2012-08-091-48/+3
| | | | codes in error cases
* s3:torture:delete: reduce indentationMichael Adam2012-08-091-8/+6
|
* s3:torture:delete: add a commentMichael Adam2012-08-091-0/+2
|
* s3:torture:delete: add a commentMichael Adam2012-08-091-0/+2
|
* s3:torture:delete: add a commentMichael Adam2012-08-091-0/+2
|
* s3:torture:delete: move the success message for a subtest to the correct placeMichael Adam2012-08-091-2/+3
|
* s3:torture:delete: remove an else, reducing indentationMichael Adam2012-08-091-2/+3
|
* s3:torture:delete: remove an else, reducing indentationMichael Adam2012-08-091-2/+3
|
* s3:torture:delete: remove an else, reducing indentationMichael Adam2012-08-091-2/+3
|
* s3:torture:delete: remove an else, reducing indentationMichael Adam2012-08-091-2/+3
|
* s3:torture:delete: really fail the test in a failure caseMichael Adam2012-08-091-2/+2
|
* s3:torture:delete: fix a commentMichael Adam2012-08-091-1/+1
|
* s3:torture:delete: fix a messageMichael Adam2012-08-091-1/+1
|
* s3:torture:delete: fix a messageMichael Adam2012-08-091-1/+1
|
* s3:torture:delete: fix a messageMichael Adam2012-08-091-1/+1
|
* s3:torture:delete: fix a message (counting the opens)Michael Adam2012-08-091-1/+1
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-2/+6
|
* s3:torture:delete: untanlge function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+1
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-3/+5
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-1/+2
|
* s3:torture:delete: untangle function call from result checkMichael Adam2012-08-091-2/+5
|
* s3-torture: Extend pdbtest to also run an authentication unit-testAndrew Bartlett2012-08-081-1/+116
| | | | | | | This tests both the builtin auth_sam against passdb directly and the configured auth module. Andrew Bartlett
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-0/+4
| | | | metze
* s3:libsmb: remove unused cli_state->smb2.pidStefan Metzmacher2012-07-251-9/+0
| | | | metze
* s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher2012-07-251-27/+18
| | | | metze
* s3:torture: remove unused shm_setup()Stefan Metzmacher2012-07-252-56/+0
| | | | metze
* s3:torture: replace shm_setup() with anonymous_shared_allocate()Stefan Metzmacher2012-07-252-4/+4
| | | | metze
* s3:torture/test_smb2: make a copy of smbXcli_tconStefan Metzmacher2012-07-251-0/+32
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 25 00:10:47 CEST 2012 on sn-devel-104
* libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher2012-07-241-4/+4
| | | | metze