summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2012-12-09s4-torture: use names for r.in.logon_level of netlogon samlogon requests.Günther Deschner6-10/+10
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: remove trailing whitespace in smbtorture remote_pac test.Günther Deschner1-41/+41
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: add AES support for netr_ServerPasswordSet2 tests.Günther Deschner1-6/+29
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: pass down netlogon flags in netr_ServerPasswordSet2 tests.Günther Deschner1-4/+12
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s4-torture: remove trailing whitespace from netlogon test.Günther Deschner1-105/+105
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-11-30torture: Fix copy and paste error in debug message.Andreas Schneider1-1/+1
Found by Coverity.
2012-11-30torture: Fix copy and paste error.Andreas Schneider1-1/+1
Found by Coverity.
2012-11-29docs: man smbtorture: Add missing meta data.Karolin Seeger1-0/+3
This avoids warnings during the waf build and removes "FIXME" entries from the manpage. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-29docs: man masktest: Add missing meta data.Karolin Seeger1-0/+3
This avoids warnings during the waf build and removes "FIXME" entries from the manpage. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-29docs: man locktest: Add missing meta data.Karolin Seeger1-0/+3
This avoids warnings during the waf build and removes "FIXME" entries from the manpage. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-29docs: man gentest: Add missing meta data.Karolin Seeger1-0/+3
This avoids warnings during the waf build and removes "FIXME" entries from the manpage. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-26s4:torture/rpc/handles: try to make all assoc_group tests less flakeyStefan Metzmacher1-0/+5
Just incrementing the assoc_group_id makes it too likely to hit a number that is already in use. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Nov 26 13:53:22 CET 2012 on sn-devel-104
2012-11-20s4:torture/rpc/handles: try to make the assoc_group test less flakeyStefan Metzmacher1-1/+5
Just incrementing the assoc_group_id makes it too likely to hit a number that is already in use. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-20s4:torture/rpc/handles: move a torture_comment()Stefan Metzmacher1-2/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-09torture: Fix smb2.create.blob test.Andreas Schneider1-1/+4
Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Nov 9 14:53:27 CET 2012 on sn-devel-104
2012-10-03s4:tortore/rpc/lsa: make more use of torture_assert*Stefan Metzmacher1-47/+40
Currently samba3.rpc.lsa.privileges.lsa.Privileges(s3dc) seems to be flakey. We may be able to find the bug with this, or at least mark it as flapping. metze
2012-10-01Add samba3.samba3badnameblob test to check regressions in bug #9215.Jeremy Allison2-0/+139
Bad name in SMB1 openX can cause a crash in iconv inside glibc. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Oct 1 23:29:25 CEST 2012 on sn-devel-104
2012-09-26netlogon: Per MS-NRPC, don't send unknown workstation flags back to theJelmer Vernooij1-3/+25
client.
2012-09-26s4:torture/smb2: remove samba specific stuff from smb2.oplockStefan Metzmacher1-10/+0
metze
2012-09-25s4-torture: Fix some nonemtpy blank linesVolker Lendecke1-12/+12
2012-09-24torture: More torture_assert() calls in rpc.lsaAndrew Bartlett1-36/+19
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 24 05:27:46 CEST 2012 on sn-devel-104
2012-09-24torture: use torture_assert rather than return false in rpc.lsaAndrew Bartlett1-110/+52
This will help ensure we always generate correct subunit failures. Andrew Bartlett
2012-09-24torture: tidy up rpc.lsa OpenPolicy2 test to more clearly use torture_fail()Andrew Bartlett1-14/+10
2012-09-23lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett1-1/+1
The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
2012-09-23s4:torture:smb2: add a durable-open.read-only testMichael Adam1-0/+95
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Sep 23 05:47:30 CEST 2012 on sn-devel-104
2012-09-22s4:torture:smb2:compound: remove two unused macrosMichael Adam1-3/+0
2012-09-22s4:torture:smb2: don't skip the compound.interim2 test for non win7/win2k8Michael Adam1-4/+0
2012-09-22s4:torture:smb2: don't skip the compound.interim1 test for non win7/win2k8Michael Adam1-4/+0
2012-09-22s4:torture:smb2: extend the compound.invalid1 testStefan Metzmacher1-3/+8
Test that when turning the related flag back off for the last compound request, the return code changes from invalid parameter to file closed. Pair-Programmed-With: Michael Adam <obnox@samba.org>
2012-09-22s4:torture:smb2: fix the compound.invalid3 test to work against windowsMichael Adam1-2/+2
2012-09-22s4:torture:smb2: fix compound.related3 test to work against windowsMichael Adam1-2/+2
2012-09-21libtorture: factor out simple ui backendGregor Beck1-64/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-20s4-torture: Complete test for winbindd PAC parsingChristof Schmitt1-6/+86
Decode the PAC through the wbcAuthenticateUserEx call, also decode it locally and compare the result. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-09-19s4:torture:smb2: add a new test durable-v2-open.app-instanceMichael Adam1-0/+134
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-19s4:torture/smb2: improve the smb2.create.blob testStefan Metzmacher1-2/+91
metze
2012-09-14s4:torture: fix error reporting in the raw.oplock-brl3 testMichael Adam1-2/+1
Error was assigned to a variable that was not returned. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Sep 14 14:05:20 CEST 2012 on sn-devel-104
2012-09-12s4 dns: Add libaddns-based simple testsKai Blin3-3/+201
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl3 testMichael Adam1-2/+1
(Error was set to an unused variable) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 22:09:18 CEST 2012 on sn-devel-104
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl2 testMichael Adam1-2/+1
(Error was set to an unused variable)
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl1 testMichael Adam1-2/+1
(Error was set to an unused variable)
2012-09-11s4:torture:smb2: remove an unused variable from the oplock-exclusive2 testMichael Adam1-3/+0
2012-09-11s4:torture:smb2: remove an unused variable from the oplock-exclusive1 testMichael Adam1-3/+0
2012-09-11torture: Add discard_const_p() to work around dlz_create prototypeAndrew Bartlett1-2/+2
2012-09-11s4:torture:smb2: add a durable-open.delete_on_close2 testMichael Adam1-0/+110
This test verifies that the delete on close flag is kept during a disconnect and is still active on the reconnected handle. When the reconnected handle is closed, the file is deleted.
2012-09-11s4:torture:smb2: fix the durable-open.delete_on_close1 testMichael Adam1-53/+16
This test used to flap because there was an invalid check of the file-id. This might or might not be the same after a new open. Hence the flapping. The new version simply opens a file as durable handle with delete_on_close set, writes a byte and closes the file. Then on a new connect, the file is opened again, and it is checked that the file has been created (again) and that it is empty.
2012-09-10smbtorture: Test that delete requests are not specialVolker Lendecke1-0/+78
Signed-off-by: Jeremy Allison <jra@samba.org>
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>