summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-04-07s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()Andrew Bartlett1-4/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke1-2/+4
2009-04-06Re-add the CHAIN1 testVolker Lendecke1-0/+81
2009-04-06Convert cli_echo to tevent_reqVolker Lendecke1-14/+1
2009-04-06Remove the CHAIN1 test -- will come back laterVolker Lendecke1-99/+0
2009-03-29Fix a debug msg typoVolker Lendecke1-1/+1
2009-03-18Modify simple POSIX open test to use filenames containing a ':'Jeremy Allison1-2/+2
character. Should stop regressions of bug #6196. Jeremy.
2009-03-16Convert wb_trans to tevent_reqVolker Lendecke1-5/+4
2009-03-13Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison1-1/+5
password talloc'ed strings within the cli_struct. Jeremy.
2009-03-12s3 torture: Fix unitialized variable to avoid closing a random fnumTim Prouty1-1/+1
2009-03-12Revert "s3:libsmb: add an option to cli_push to let the caller provide the ↵Stefan Metzmacher1-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
2009-03-11Add simple POSIX open, mkdir and rmdir test.Jeremy Allison1-0/+114
Jeremy.
2009-03-11s3 torture: Simple warning fixTim Prouty1-1/+1
2009-03-10s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher1-3/+5
metze
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke1-1/+1
2009-02-10s3: Remove some unused varsTim Prouty1-5/+3
2009-02-09Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman1-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
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-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.
2009-01-30Make cli_tcon_andx asyncVolker Lendecke3-15/+19
2009-01-28s3:torture: support SMB_CONF_PATH envvar in smbtortureStefan Metzmacher1-0/+5
metze
2009-01-23Extend NTIMES to allow setting create_timetodd stecher1-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.
2009-01-22s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() ↵Stefan Metzmacher1-8/+19
instead metze
2009-01-04Add a quick test of wb_trans_send/recvVolker Lendecke1-0/+65
2009-01-02Fix warnings in make test code.Jeremy Allison3-9/+34
Jeremy.
2008-12-30Print the vuid in BENCH-SESSSETUPVolker Lendecke1-0/+2
2008-12-29Fix SESSSETUP_BENCH torture test for long runtimesVolker Lendecke1-6/+9
deadtime hits without any files open. To enable long runtimes, open a file with delete_on_close set.
2008-12-19Extend the chain1 test with write&xVolker Lendecke1-2/+21
2008-12-19Add a torture test simulating Windows write behaviourVolker Lendecke1-1/+81
Jeremy, enjoy :-)
2008-12-19Make cli_negprot return NTSTATUS instead of boolVolker Lendecke3-10/+21
2008-12-19cli_negprot_send -> cli_negprot_sendsyncVolker Lendecke1-1/+1
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty3-5/+5
Also eliminates name conflicts with OneFS system libraries
2008-11-14Make memcache_add_talloc NULL out the source pointerVolker Lendecke1-2/+2
This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
2008-11-14Actually finish memcache_add_tallocVolker Lendecke1-1/+32
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
2008-11-01Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij1-2/+2
2008-10-22s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner1-9/+13
Guenther
2008-10-18Fix build of 'everything'Jelmer Vernooij1-1/+1
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2-4/+4
2008-10-13Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij1-1/+1
null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
2008-10-12Move zlib to top-level root.Jelmer Vernooij1-12/+3
2008-09-15Fix build warning on FreeBSDSteven Danneman1-2/+2
Fix for the following build warning: Compiling torture/cmd_vfs.c torture/cmd_vfs.c: In function `cmd_open': torture/cmd_vfs.c:275: warning: unsigned int format, different type arg (arg 3) torture/cmd_vfs.c: In function `cmd_mknod': torture/cmd_vfs.c:992: warning: unsigned int format, different type arg (arg 3) sccanf had mismatched types for mode_t between formating parameter and var args.
2008-08-28Add async smbecho client supportVolker Lendecke1-0/+33
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28Activate code to enable chained requestsVolker Lendecke1-0/+80
Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
2008-08-12Merge from Herb. print correct test statusJeremy Allison1-1/+2
(This used to be commit 8cb7ae011c8b8cb244e9b87a3ad51e27646411b6)
2008-07-11Revert "Pass NULL to gencache_get when we are not interested in the timeout ↵Volker Lendecke1-2/+2
value" This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0. (This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)
2008-07-03Pass NULL to gencache_get when we are not interested in the timeout valueVolker Lendecke1-2/+2
(This used to be commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0)
2008-05-24rpc_open_tcp: now drsuapi is complete, we can use it in the test program.Michael Adam1-6/+0
Michael (This used to be commit 73eb8b7386109c72b13f8d7b5ff5db9baaef280d)
2008-05-22torture: add a test program rpc_open_tcp() to test the rpc_pipe_open_tcp() func.Michael Adam1-0/+115
This is still very raw and has yet to be integrated into the test suite. Michael (This used to be commit 3ec3ab4e5309c63bbf2fa5efa5d2c47856560a0f)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-2/+3
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-10Remove "user" from connection_structVolker Lendecke1-1/+0
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)