summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-25s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-22Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison1-0/+104
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-05-18s3: Revert the serverid changes, they need more workVolker Lendecke1-1/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104
2012-05-17s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-05-01s3:torture: add idmap_tdb_common test codeChristian Ambach1-0/+1
2012-04-19s3-dbwrap: Add dbwrap_record_watch_send/recvVolker Lendecke1-0/+1
With this API you can asynchronously wait for a record to be modified
2012-04-17s3: Add two notify benchmark testsVolker Lendecke1-0/+2
2012-04-17s3: Make torture_nprocs globally availableVolker Lendecke1-19/+19
2012-04-17s3: Add msg_channelVolker Lendecke1-0/+1
This is a tevent_based variant of messaging_register
2012-04-17s3: Add a second ctdb connect libraryVolker Lendecke1-0/+1
The existing one is not async at all.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-5/+5
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-03-30Who would have guessed - checking returns from strlcat found a memory ↵Jeremy Allison1-1/+1
overwrite bug :-).
2012-03-30More strlcat/strlcpy truncate checks.Jeremy Allison1-2/+8
2012-03-13s3:torture: fix segfault in LOCAL-TALLOC-DICTStefan Metzmacher1-1/+3
talloc_dict_set() expects a pointer to an talloc'ed pointer. metze
2012-03-13s3:torture: talloc_dict_traverse() returns the number of entriesStefan Metzmacher1-2/+7
metze
2012-02-29s3: Add a test that makes a chained open break an oplockVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)1-1/+1
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
2012-02-06lib/util: Add hex_encode_bufVolker Lendecke1-0/+21
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
2012-01-18s3: Add a "lock_order" argument to db_openVolker Lendecke1-1/+1
This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy.
2012-01-06s3: Avoid a potential alignment requirement issueVolker Lendecke1-6/+5
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 6 18:58:11 CET 2012 on sn-devel-104
2012-01-05Fix the local-memcache test for 64-bitVolker Lendecke1-1/+1
The memcache test walks the purge functionality. The maximum memcache size also takes all memcache internal headers into account. Those headers contain pointers, so on 64-bit they take more space... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104
2012-01-05s3: Add a test for proper brlock cleanupVolker Lendecke1-0/+1
We need to improve the server here. Maybe we should validate the brlock entry whenever we detect a read/write being blocked from locking? This is not our hot code path anyway, and it would gain us significant robustness. The code might become quite a bit simpler as well.
2012-01-05s3: Add a test excercising the share mode cleanup routineVolker Lendecke1-0/+1
2012-01-03s3: Fix a cut&paste errorVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 3 16:57:44 CET 2012 on sn-devel-104
2012-01-03s3: Fix a typoVolker Lendecke1-1/+1
2011-12-03Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison1-87/+87
with a call that uses NTCreateX in preference to OpenAndX.
2011-11-24s3:torture: add SMB2-SESSION-REAUTHStefan Metzmacher1-0/+1
metze
2011-11-24s3:torture: add SMB2-MULTI-CHANNEL testStefan Metzmacher1-0/+1
metze
2011-11-24s3:torture: add a new test SMB2-TCON-DEPENDENCEMichael Adam1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:torture:smb2: add SMB2-SESSION-RECONNECT testMichael Adam1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s3:torture: make use of cli_tree_connect()Stefan Metzmacher1-5/+5
metze
2011-11-24s3:torture: add SMB2-NEGPROT testStefan Metzmacher1-0/+1
metze
2011-11-16s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach1-12/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach1-6/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-03s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/Stefan Metzmacher1-4/+4
metze
2011-10-28s3-torture run t_strappend tests as LOCAL-sprintf_appendAndrew Bartlett1-0/+1
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-10-24s3:torture: avoid using read_smb()Stefan Metzmacher1-1/+16
metze
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam1-4/+8
bool) for consistency and better error propagation
2011-10-11s3:torture: convert torture.c to only use dbwrap wrapper functionsMichael Adam1-17/+26
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam1-0/+1
2011-10-01Add a torture test to test existing FSCTL responsesRichard Sharpe1-0/+1
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher1-3/+3
metze
2011-09-14s3:libsmb: remove unused cli->is_sambaStefan Metzmacher1-8/+0
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:torture/run_oplock4: don't set cli->use_level_II_oplocksStefan Metzmacher1-3/+0
Doing this after the session setup is pointless, as that's the only place where we tell the server we support level II oplocks. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104
2011-09-13s3:torture: there's no need to alter cli->max_xmit in order to test large writesStefan Metzmacher1-7/+3
metze
2011-09-13s3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher1-1/+1
The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 14:52:35 CEST 2011 on sn-devel-104
2011-09-12s3-lsa: Add conversion for auth info structsSumit Bose1-0/+1
struct lsa_TrustDomainInfoAuthInfo and struct trustAuthInOutBlob can store the same information for different usage. The added routines can convert one struct into the other. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Sep 12 15:52:17 CEST 2011 on sn-devel-104
2011-09-08s3:torture: make use of CLI_FULL_CONNECTION_DONT_SPNEGOStefan Metzmacher1-4/+11
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 19:23:32 CEST 2011 on sn-devel-104
2011-09-08s3:torture: make use of CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher1-1/+8
metze