summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
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:smbtorture: use the lp_load_global() wrapper of lp_load()Michael 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-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 Baumbach1-18/+18
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>
2011-07-18s3-torture: run_locktest9(): replace cli_lock() with cli_lock32()Björn Baumbach1-3/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest8(): replace cli_lock() with cli_lock32()Björn Baumbach1-2/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest7(): replace cli_lock() with cli_lock32()Björn Baumbach1-4/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-18s3-torture: run_locktest3(): replace cli_lock() with cli_lock32()Björn Baumbach1-8/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest2(): replace check_error() with check_both_error()Björn Baumbach1-10/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest2(): replace cli_lock() with cli_lock32()Björn Baumbach1-20/+35
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest1(): replace cli_lock() with cli_lock32()Björn Baumbach1-17/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: let wait_lock() use cli_lock32() instead of cli_lock()Björn Baumbach1-3/+13
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-08s3:torture: use cli_is_nt/dos_error() in run_error_map_extract()Stefan Metzmacher1-12/+10
Callers should avoid using cli->inbuf directly! metze
2011-07-08s3:torture: add SMB2-BASICStefan Metzmacher1-1/+15
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-07s3-torture: run_shortname_test: Remove uses of cli_errstr()Björn Baumbach1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: run_simple_posix_open_test: Remove uses of cli_errstr()Björn Baumbach1-21/+31
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: use nt_errstr() for cli_unlink() error handlingStefan Metzmacher1-1/+3
Use nt_errstr() instead of cli_errstr() for error handling on cli_unlink() calls. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3-torture: introduce check_both_error()Björn Baumbach1-0/+34
Check if the server produced the expected dos or nt error code like check_error(), but without a cli_state struct. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher1-2/+2
metze
2011-07-07s3: Remove a use of cli_errstrVolker Lendecke1-2/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher1-2/+2
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher1-1/+1
metze
2011-06-20tdb_compat: Higher level API fixes.Rusty Russell1-4/+4
My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-19s3: Test nttrans_createVolker Lendecke1-0/+1
This is a test for the share security descriptor exception for nttrans_create
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-05-29s3: Fix cli_bad_session_requestVolker Lendecke1-2/+19
We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
2011-05-29s3: Simplify run_bad_nbt_sessionVolker Lendecke1-40/+26
2011-05-29s3: Simplify cli_bad_session_requestVolker Lendecke1-12/+4
For this purpose we don't need the full cli_state
2011-05-28s3: Use cli_connect_nb in smbtorture open_nbt_connectionVolker Lendecke1-36/+2