summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-20Reproduce a bug with a custom GET_REAL_FILENAMEVolker Lendecke1-0/+54
2009-04-16Add torture tester to ensure we don't regress the ulogoff bug.Jeremy Allison1-0/+45
Jeremy.
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-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 Lendecke1-9/+11
2009-01-28s3:torture: support SMB_CONF_PATH envvar in smbtortureStefan Metzmacher1-0/+5
metze
2009-01-04Add a quick test of wb_trans_send/recvVolker Lendecke1-0/+65
2009-01-02Fix warnings in make test code.Jeremy Allison1-4/+14
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 Lendecke1-6/+13
2008-12-19cli_negprot_send -> cli_negprot_sendsyncVolker Lendecke1-1/+1
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-1/+1
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-10-18Fix build of 'everything'Jelmer Vernooij1-1/+1
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-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-03-08Print out the used seed in smbtortureVolker Lendecke1-3/+6
(This used to be commit 26d64d22d65938023a4e45c3893e7021e51f4d9c)
2008-01-23strtok -> strtok_rVolker Lendecke1-2/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-19Add "split_ntfs_stream_name()" together with a torture testVolker Lendecke1-0/+69
(This used to be commit d813bd9e02d9baf916eb96c478be89f0c435e07c)
2008-01-04Added -e option to smbtorture to test encrypted versionsJeremy Allison1-1/+60
of the tests. Jeremy. (This used to be commit e85b346f3d73f50d6dea19ffb6cca1180345e687)
2007-12-18Add a in-memory cacheVolker Lendecke1-0/+76
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. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10dbwrap_rbtVolker Lendecke1-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. (This used to be commit 54e5d4404619443caed32e2acff8921cdbff9ed1)
2007-12-05add SESSSETUP_BENCHVolker Lendecke1-0/+41
(This used to be commit 3b057022a570a1fb68e03c477a6989e7d1e7cef2)
2007-12-04pull_ascii_pstring is gone.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 288aacce4b56d159218be311019cb951e5a232fd)
2007-11-30Remove pstring from clirap.c.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6e27663cb44a79f729fa4366e000c43383f6d1b7)
2007-11-08Remove more pstring/fstrings.Jeremy Allison1-1/+8
Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison1-1/+1
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. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)