summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-08-10Revert "s3:test_async_echo: unsure the desired smb message sequence"Stefan Metzmacher1-10/+0
This reverts commit 34faeb8bba86fff57466c06682b7dcbffc48a52a. This is not needed anymore. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 09:54:24 CEST 2011 on sn-devel-104
2011-08-09s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2-3/+3
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
2011-08-05s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke1-7/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104
2011-08-05s3: Fix some nonempty blank linesVolker Lendecke1-25/+25
2011-08-03s3:torture: make use of cli_set_timeout()Stefan Metzmacher1-2/+2
metze
2011-08-02s3:masktest: make use of cli_state_protocol()Stefan Metzmacher1-1/+1
metze
2011-08-02s3:torture: make use of cli_state_capabilities()Stefan Metzmacher1-1/+1
metze
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam1-0/+1
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
2011-07-28s3: In the async echo test, write 65kVolker Lendecke1-1/+1
This leads to the writev from echo responder child to parent to only deliver a partial blob and thus excercises the retry code. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 15:07:40 CEST 2011 on sn-devel-104
2011-07-28s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$Michael Adam1-1/+1
2011-07-28s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the strstr testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global in the strcmp testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the push_ucs2 testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the msgtestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the masktestMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in locktest2Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the locktestMichael Adam1-1/+1
2011-07-27s3: Avoid calls to cli_dos/nt_error in tortureVolker Lendecke1-20/+19
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 23:07:51 CEST 2011 on sn-devel-104
2011-07-27s3: Fix formatting in check_error()Volker Lendecke1-3/+6
2011-07-27s3:test_async_echo: unsure the desired smb message sequenceStefan Metzmacher1-0/+10
We want to start sending echo requests once the rpc related smb operation arrived the smb layer. metze
2011-07-27s3: cli_close_done->write_andx_done in test_async_echoVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 02:03:49 CEST 2011 on sn-devel-104
2011-07-27s3: Fix a debug messageVolker Lendecke1-1/+1
2011-07-27s3: Fix formattingVolker Lendecke1-2/+4
2011-07-27s3: Fix an error messageVolker Lendecke1-1/+1
2011-07-23s3-torture: run_nttrans_create(): replace cli_query_secdesc_old()Björn Baumbach1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach1-1/+1
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture/nbio.c: replace cli_read_old() with cli_read()Björn Baumbach1-4/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture/utable.c: replace cli_read_old() with cli_read()Björn Baumbach1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture/denytest.c: replace cli_read_old() with cli_read()Björn Baumbach1-6/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture: run_oplock2(): replace cli_read_old() with cli_read()Björn Baumbach1-5/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture: run_fdsesstest(): replace cli_read_old() with cli_read()Björn Baumbach1-8/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture: run_fdpasstest(): replace cli_read_old() with cli_read()Björn Baumbach1-4/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture: run_locktest7(): replace cli_read_old() with cli_read()Stefan Metzmacher1-11/+34
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-torture: run_locktest7(): goto fail on read errorStefan Metzmacher1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3-torture: run_locktest4(): replace cli_read_old() with cli_read()Björn Baumbach1-5/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3-torture: introduce test_cli_read()Björn Baumbach1-0/+22
test_cli_read calls cli_read and returns success or failure Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3:torture: use cli_state_disconnect() to close the socket on SIGALRMStefan Metzmacher1-3/+3
metze
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher1-18/+17
cli_state_[g|s]et_uid() metze
2011-07-20s3-torture: run_simple_posix_open_test(): replace cli_read_old() withBjörn Baumbach1-2/+9
cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 20 23:22:09 CEST 2011 on sn-devel-104
2011-07-20s3-torture: rw_torture2(): replace cli_read_old() with cli_read()Björn Baumbach1-4/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3-torture: rw_torture3(): replace cli_read_old() with cli_read()Björn Baumbach1-10/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3-torture: rw_torture(): replace cli_read_old() with cli_read()Björn Baumbach1-3/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach4-22/+22
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-16/+16
cli_state_[g|s]et_tid() metze
2011-07-20s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher1-1/+1
metze
2011-07-18s3-torture: run_locktest5(): replace cli_lock() with cli_lock32()Björn Baumbach1-11/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest4(): replace cli_lock() with cli_lock32()Björn Baumbach1-37/+44
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_oplock2(): replace cli_lock() with cli_lock32()Björn Baumbach1-5/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>