summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
* Add getaddrinfo_send/recvVolker Lendecke2009-05-011-0/+55
|
* Cause cli_close to return an NTSTATUS.Jeremy Allison2009-04-304-67/+67
| | | | Jeremy.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-309-415/+312
| | | | | | | Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
* Make cli_unlink async.Jeremy Allison2009-04-299-108/+108
| | | | Jeremy.
* Convert cli_rename to async.Jeremy Allison2009-04-282-6/+6
| | | | Jeremy.
* Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison2009-04-281-2/+2
| | | | | to async. First trans calls I've done. Jeremy.
* Fix a pointless staticVolker Lendecke2009-04-231-1/+1
|
* Make cli_chkpath async.Jeremy Allison2009-04-221-5/+5
| | | | Jeremy
* Fix some nonempty blank linesVolker Lendecke2009-04-221-143/+142
|
* Remove some shadowed definition warningsVolker Lendecke2009-04-221-3/+3
|
* Make rmdir async.Jeremy Allison2009-04-213-3/+3
| | | | Jeremy.
* Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison2009-04-213-7/+7
| | | | Jeremy.
* Reproduce a bug with a custom GET_REAL_FILENAMEVolker Lendecke2009-04-201-0/+54
|
* Add torture tester to ensure we don't regress the ulogoff bug.Jeremy Allison2009-04-161-0/+45
| | | | Jeremy.
* s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()Andrew Bartlett2009-04-071-4/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke2009-04-061-2/+4
|
* Re-add the CHAIN1 testVolker Lendecke2009-04-061-0/+81
|
* Convert cli_echo to tevent_reqVolker Lendecke2009-04-061-14/+1
|
* Remove the CHAIN1 test -- will come back laterVolker Lendecke2009-04-061-99/+0
|
* Fix a debug msg typoVolker Lendecke2009-03-291-1/+1
|
* Modify simple POSIX open test to use filenames containing a ':'Jeremy Allison2009-03-181-2/+2
| | | | | character. Should stop regressions of bug #6196. Jeremy.
* Convert wb_trans to tevent_reqVolker Lendecke2009-03-161-5/+4
|
* Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison2009-03-131-1/+5
| | | | | password talloc'ed strings within the cli_struct. Jeremy.
* s3 torture: Fix unitialized variable to avoid closing a random fnumTim Prouty2009-03-121-1/+1
|
* Revert "s3:libsmb: add an option to cli_push to let the caller provide the ↵Stefan Metzmacher2009-03-121-5/+3
| | | | | | | | | | | | | buffers" This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22. It's confusing to have a boolean to alter the behavior of cli_push and as the new feature isn't used yet I revert it. We can readd a extra function later. metze
* Add simple POSIX open, mkdir and rmdir test.Jeremy Allison2009-03-111-0/+114
| | | | Jeremy.
* s3 torture: Simple warning fixTim Prouty2009-03-111-1/+1
|
* s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher2009-03-101-3/+5
| | | | metze
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-1/+1
|
* s3: Remove some unused varsTim Prouty2009-02-101-5/+3
|
* Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman2009-02-091-2/+33
| | | | | | | | * this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid
* async_sock: Use unix errnos instead of NTSTATUSKai Blin2009-02-091-3/+4
| | | | | This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
* Make cli_tcon_andx asyncVolker Lendecke2009-01-303-15/+19
|
* s3:torture: support SMB_CONF_PATH envvar in smbtortureStefan Metzmacher2009-01-281-0/+5
| | | | metze
* Extend NTIMES to allow setting create_timetodd stecher2009-01-231-4/+7
| | | | | | | | | 1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
* s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() ↵Stefan Metzmacher2009-01-221-8/+19
| | | | | | instead metze
* Add a quick test of wb_trans_send/recvVolker Lendecke2009-01-041-0/+65
|
* Fix warnings in make test code.Jeremy Allison2009-01-023-9/+34
| | | | Jeremy.
* Print the vuid in BENCH-SESSSETUPVolker Lendecke2008-12-301-0/+2
|
* Fix SESSSETUP_BENCH torture test for long runtimesVolker Lendecke2008-12-291-6/+9
| | | | | deadtime hits without any files open. To enable long runtimes, open a file with delete_on_close set.
* Extend the chain1 test with write&xVolker Lendecke2008-12-191-2/+21
|
* Add a torture test simulating Windows write behaviourVolker Lendecke2008-12-191-1/+81
| | | | Jeremy, enjoy :-)
* Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2008-12-193-10/+21
|
* cli_negprot_send -> cli_negprot_sendsyncVolker Lendecke2008-12-191-1/+1
|
* s3: Change sockaddr util function names for consistencyTim Prouty2008-12-033-5/+5
| | | | Also eliminates name conflicts with OneFS system libraries
* Make memcache_add_talloc NULL out the source pointerVolker Lendecke2008-11-141-2/+2
| | | | | | This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
* Actually finish memcache_add_tallocVolker Lendecke2008-11-141-1/+32
| | | | | | | | This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
* Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij2008-11-011-2/+2
|
* s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner2008-10-221-9/+13
| | | | Guenther
* Fix build of 'everything'Jelmer Vernooij2008-10-181-1/+1
|