summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou1-2/+2
Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Sep 10 07:33:50 CEST 2012 on sn-devel-104
2012-09-07s4:torture:smb2: simplify durable-open.file-position test to only use one ↵Michael Adam1-27/+27
I/O and one handle Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: change the durable-open.file-position test to use one ↵Michael Adam1-17/+27
connection only And do a tcp disconnect followed by a session reconnect instead of immediately using the already opened second connection. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windowsMichael Adam1-1/+1
The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2.reopen2 test (using only one i/o ↵Michael Adam1-51/+52
struct) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: simplify the durable-v2-open.reopen1 testMichael Adam1-20/+21
only use one smb2_create i/o struct and store the create GUID centrally Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal requestMichael Adam1-2/+1
don't copy the old request, but only set the necessary fields Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix cut'n'paste error in the durable-v2-open.reopen2 testMichael Adam1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture:smb2: fix name of test file in the durable-open.alloc-size testMichael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s4-torture: dns torture test depends on AD DC buildAlexander Bokovoy1-8/+9
2012-09-07s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam1-0/+154
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-07s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher1-0/+184
They show that only the content of the DH2C request matches and all other values in the SMB2 Create request are ignored. metze
2012-09-07s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher1-1/+2
metze
2012-09-07s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher1-4/+0
This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
2012-09-06selftest: Test configure stage of dlz_bind9Andrew Bartlett1-0/+61
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 09:07:11 CEST 2012 on sn-devel-104
2012-09-06selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett3-0/+102
This will help ensure that we do not break the fundemental loading etc. From here, it should be easy to extend this to more comprehensive tests. Andrew Bartlett
2012-08-31Now SEC_RIGHTS_PRIV_RESTORE and SEC_RIGHTS_PRIV_BACKUP don't include any ↵Jeremy Allison1-4/+27
generic bits (they're used directly in the fileserver where the generic bits have already been mapped into file specific bits) we need to add the generic bits to the test when we have these privileges. Mark samba4.base.maximum_allowed knownfail until we implement NTCREATEX_OPTIONS_BACKUP_INTENT.
2012-08-31Rewrite torture_samba3_rpc_sharesec() to use a non-privileged user for share ↵Jeremy Allison2-15/+182
security descriptor testing.
2012-08-30Now ACL inheritance flags are working, add test_inheritance_flags() back ↵Jeremy Allison1-5/+10
into raw.acls to ensure we don't regress.
2012-08-29s4-torture: Add start of a test to confirm winbindd PAC parsingAndrew Bartlett2-1/+154
So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett
2012-08-27s4-torture: Test for #9058Volker Lendecke1-0/+72
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 27 17:43:09 CEST 2012 on sn-devel-104
2012-08-22s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampireAndrew Bartlett1-0/+1
None of these cases need the complexity of the s3fs backend. Andrew Bartlett
2012-08-20s4-torture: Use torture_fail() in the unix.unix_info2 testAndrew Bartlett1-2/+3
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Aug 20 15:36:48 CEST 2012 on sn-devel-104
2012-08-20s4-torture: Show that we cannot list extended attributes on streamsAndrew Bartlett1-0/+11
2012-08-20s4-torture: Show that we cannot have extended attributes on streamsAndrew Bartlett1-2/+17
2012-08-20s4-torture: Improve raw.streams test to cover EAs and to use torture_assert()Andrew Bartlett1-34/+25
The extension of this test is to create an extended attribute, so we can confirm that the easize field on a stream actually refers to the parent file. This has been run against Windows 7. Andrew Bartlett
2012-08-17s4:torture:basic: add more delete test - variants of deltest16 and deltest17Michael Adam1-0/+622
There seems to be a difference if the initial delete_on_close flag was set on a handle that created the file or if the handle if was for a file that already existed. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
2012-08-10torture: Reproducer for 64c0367Volker Lendecke1-0/+20
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-08-09s4:torture:basic: check the return status of the last open in deltest16Michael Adam1-0/+2
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Aug 9 18:01:50 CEST 2012 on sn-devel-104
2012-08-09s4:torture:basic: fix a message typo in the delete17 testMichael Adam1-1/+1
2012-08-09s4:torture:basic: fix abundance of spaces in deltest6Michael Adam1-3/+4
2012-08-09s4:torture:basic:delete: fix 4 vs 8 spc tab formatting in ↵Michael Adam1-4/+4
check_delete_on_close()
2012-08-04s4:torture: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher2-1/+14
metze
2012-08-02s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher5-7/+7
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
2012-07-31s4-repl: Add tests for add replication conflicts and use of LostAndFoundAndrew Bartlett2-0/+309
LostAndFound is used when we find children of a deleted object that are not themselves deleted. Andrew Bartlett
2012-07-30s4-torture: Fix format string errors found by -Werror=formatAndrew Bartlett1-6/+6
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher3-0/+5
metze
2012-07-25s4:libcli/smb2: remove unused smb2_session->pidStefan Metzmacher1-4/+0
metze
2012-07-25s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher2-7/+3
metze
2012-07-25s4:torture/smb2: create temporary smbXcli_tcon/session structures instead of ↵Stefan Metzmacher1-15/+50
changing them metze
2012-07-25s4:torture/smb2: use smb2cli_tcon_capabilities()Stefan Metzmacher1-2/+6
metze
2012-07-25s4:torture: remove unused shm_setup()Stefan Metzmacher2-58/+0
metze
2012-07-25s4:torture: replace shm_setup() with anonymous_shared_allocate()Stefan Metzmacher2-3/+3
metze
2012-07-24s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher2-0/+18
metze
2012-07-19s4-torture: Move check of map-to-guest above SID list checkAndrew Bartlett1-13/+13
This makes it easier to interpret failing output. Andrew Bartlett
2012-07-19s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett1-11/+55
This compares only the domain SIDs betwen the two servers, rather than the full token, as well known and other SIDs may be added locally in both cases. This also expands the test environments this is run against to verify this between our AD server and domain members. Andrew Bartlett
2012-07-19s4-torture: Also print GID values in whoami testAndrew Bartlett1-0/+3
2012-07-19torture: Print SIDs as additional debug output in unix.whoamiChristof Schmitt1-0/+4
2012-07-18source4/torture: add talloc_stackframe()Rusty Russell1-0/+3
We need a stackframe to call lp_load(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Wed Jul 18 09:31:07 CEST 2012 on sn-devel-104
2012-07-17s4-torture: Improve samlogon test.Andreas Schneider1-0/+8