summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-04-22Make nsstest valgrind-clean: buf is referred to by the parsed grp structVolker Lendecke1-3/+0
(This used to be commit 20ddbcaa0c113646cea774c36209f382cada50b0)
2008-04-21Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam1-1/+1
Now all those redundant fd's have vanished from the VFS API. Michael (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
2008-03-08Print out the used seed in smbtortureVolker Lendecke1-3/+6
(This used to be commit 26d64d22d65938023a4e45c3893e7021e51f4d9c)
2008-02-28Remove a useless variable.Michael Adam1-2/+1
Michael (This used to be commit 661b9f3d779b419e72968dd3b42348f9da68d803)
2008-02-15Fix a pointer to int conversion warning: cast the int instead.Michael Adam1-1/+1
Michael (This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511)
2008-02-15Fix two const warnings.Michael Adam1-2/+2
Michael (This used to be commit 03db3bd0774e0435089eef15f88355133149d658)
2008-02-15Try to fix the build of smbiconv on systems without native iconv.Michael Adam1-1/+1
Use the smb_iconv_t instead of iconv_t. Michael (This used to be commit bdc00a05b95a7a629a6cbf2af21760b6ff874bd9)
2008-02-15Fix compiling torture/smbiconv.c: allow to use realloc directly by #undef ↵Michael Adam1-0/+1
realloc. Michael (This used to be commit 113377a7929975bf29c2cfff1652781fae24e826)
2008-02-15Remove torture/samtest.h - last trace of late samtest.Michael Adam1-37/+0
Michael (This used to be commit e846148116f84d1428b5c7e60a4181cc872cc3eb)