summaryrefslogtreecommitdiffstats
path: root/source/torture
Commit message (Collapse)AuthorAgeFilesLines
* Change sockaddr util function names for consistency and to eliminate name ↵Tim Prouty2008-12-093-5/+5
| | | | | | conflicts (cherry picked from commit 10dd8a54ea7ea2cf86de5e20a62912298e0c4acc)
* Make memcache_add_talloc NULL out the source pointerVolker Lendecke2008-12-091-2/+2
| | | | | | This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit b0031a6e86565857e602f8011e57e2114835581a)
* Actually finish memcache_add_tallocVolker Lendecke2008-12-091-1/+32
| | | | | | | | This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit 26b1fda4020b7f6629865ae1c62e9b464222e1a2)
* Fix build warning on FreeBSDSteven Danneman2008-09-161-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. (cherry picked from commit d10c386472175ceb312b9bcca07822a6df66a266)
* print correct test statusHerb Lewis2008-08-131-1/+1
| | | | (cherry picked from commit ccd413b8b10c99f18b6369717116765c3397edfb)
* Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam2008-05-071-1/+1
| | | | | | | Now all those redundant fd's have vanished from the VFS API. Michael (cherry picked from commit 14294535512a7f191c5008e622b6708e417854ae)
* Make nsstest valgrind-clean: buf is referred to by the parsed grp structVolker Lendecke2008-04-221-3/+0
| | | | (cherry picked from commit 20ddbcaa0c113646cea774c36209f382cada50b0)
* Print out the used seed in smbtortureVolker Lendecke2008-03-091-3/+6
| | | | (cherry picked from commit 26d64d22d65938023a4e45c3893e7021e51f4d9c)
* Remove a useless variable.Michael Adam2008-02-281-2/+1
| | | | Michael
* Fix a pointer to int conversion warning: cast the int instead.Michael Adam2008-02-151-1/+1
| | | | Michael
* Fix two const warnings.Michael Adam2008-02-151-2/+2
| | | | Michael
* Try to fix the build of smbiconv on systems without native iconv.Michael Adam2008-02-151-1/+1
| | | | | | Use the smb_iconv_t instead of iconv_t. Michael
* Fix compiling torture/smbiconv.c: allow to use realloc directly by #undef ↵Michael Adam2008-02-151-0/+1
| | | | | | realloc. Michael
* Remove torture/samtest.h - last trace of late samtest.Michael Adam2008-02-151-37/+0
| | | | Michael
* Fix some IBM checker warningsVolker Lendecke2008-01-301-4/+4
|
* ntlm_auth: test should honour configfile option to run on build farm.Kai Blin2008-01-301-0/+6
|
* ntlm_auth: Add a blackbox test.Kai Blin2008-01-301-0/+212
|
* strtok -> strtok_rVolker Lendecke2008-01-231-2/+3
|
* Add "split_ntfs_stream_name()" together with a torture testVolker Lendecke2008-01-191-0/+69
|
* Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam2008-01-101-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_READ().Michael Adam2008-01-101-1/+1
| | | | Michael
* Fix memory handling in torture/cmd_vfs.c:cmd_open and don't leak fsp_name.Michael Adam2008-01-091-0/+13
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam2008-01-071-1/+1
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-071-1/+1
| | | | Michael
* Added -e option to smbtorture to test encrypted versionsJeremy Allison2008-01-041-1/+60
| | | | | of the tests. Jeremy.
* Remove the sampwent interfaceVolker Lendecke2007-12-261-18/+0
|
* Add a in-memory cacheVolker Lendecke2007-12-182-0/+89
| | | | | | | | | | | This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come.
* Remove t_doschar.cVolker Lendecke2007-12-171-41/+0
|
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-107-9/+9
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* dbwrap_rbtVolker Lendecke2007-12-101-0/+83
| | | | | | This is meant as a replacement for the internal tdb. To me it seems a bit silly that for in-memory structures we do our own memory management. With this rbt based approach we can make use of the system-supplied malloc.
* Tiny simplificationsVolker Lendecke2007-12-101-1/+1
| | | | | | locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
* Don't build rpctorture anymore - not maintained. Just remove.Jeremy Allison2007-12-071-564/+0
| | | | | | Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-062-5/+6
| | | | | Mostly compiles.... Jeremy.
* remove some staticsVolker Lendecke2007-12-051-0/+34
|
* add SESSSETUP_BENCHVolker Lendecke2007-12-051-0/+41
|
* Ok, down to just the client/*.c code now.Jeremy Allison2007-12-041-30/+52
| | | | Jeremy.
* Remove tok pstring from util_str.cJeremy Allison2007-12-041-42/+32
| | | | | Do we even make rpctorture anymore ? Jeremy.
* pull_ascii_pstring is gone.Jeremy Allison2007-12-043-14/+21
| | | | Jeremy.
* The usual !pstring...Jeremy Allison2007-12-043-52/+51
| | | | Jeremy.
* Remove pstring from clirap.c.Jeremy Allison2007-11-301-1/+1
| | | | Jeremy.
* Remove the silly "user_socket_options" global variableVolker Lendecke2007-11-092-7/+3
| | | | This is better done with a 'lp_do_parameter(-1, "socket options", ..);
* Remove more pstring/fstrings.Jeremy Allison2007-11-082-3/+11
| | | | Jeremy.
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-0/+5
| | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy.
* Remove more static data from lib/util_sock.c andJeremy Allison2007-11-031-1/+1
| | | | | callers. Jeremy.
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-273-5/+5
| | | | | | | | zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy.