summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-02s3-gencache: restore gencache_get behavior with NULL args (with torture test).Günther Deschner1-0/+5
Without this, we panic in wins_srv_is_dead() and fail to start nmbd with wins support. Volker, please check. Guenther
2009-10-20Fix comments on new test.Jeremy Allison1-3/+3
Jeremy
2009-10-20Add local (or NFS) lock test to smbtorture. Checks that local locksJeremy Allison1-1/+209
conflict with CIFS locks (see bug 6868). Jeremy.
2009-10-13s3:torture: Add a notify-bench testVolker Lendecke1-0/+403
This is a test that creates and deletes files in a directory as fast as the network allows it. At the same time, it opens a filechangenotify. This test is done to just torture handling a single directory together with the notify infrastructure.
2009-09-23s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke1-2/+2
This is set to true if the routine returns failure due to an existing but expired entry.
2009-09-13Port the Samba 3 shm_setup to QNX.Matt Kraai1-0/+18
2009-08-16s3: Add talloc_dict.[ch]Volker Lendecke1-0/+48
2009-07-28Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison1-1/+1
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
2009-07-24Fix the chain2 testVolker Lendecke1-1/+3
2009-07-15Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.Jeremy Allison1-22/+22
Jeremy.
2009-07-15Remove gencache_init/shutdownVolker Lendecke1-16/+0
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-13Make cli_posix_lock/unlock asynchronous.Jeremy Allison1-0/+12
Jeremy.
2009-07-10Fix&Run local-gencacheVolker Lendecke1-3/+1
2009-07-10Fix our base64 implementation for blobs of length 4....Volker Lendecke1-0/+34
The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-)
2009-07-08s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty1-0/+90
Actually I moved split_ntfs_stream_name into torture.c which is the one consumer of it. This could probably be changed at some point.
2009-07-03Fix two pointless staticsVolker Lendecke1-1/+1
2009-07-03Test error codes on popular streamsVolker Lendecke1-0/+54
2009-06-20Add tldap paged searches, together with two helper routinesVolker Lendecke1-0/+55
2009-06-19Add tiny tldap testVolker Lendecke1-0/+36
2009-06-10Make ctemp async. Fix the test to pass against W2K3.Jeremy Allison1-2/+1
Jeremy.
2009-06-05Make cli_ftruncate async. Also add a simple test.Jeremy Allison1-0/+24
Jeremy.
2009-05-30libwbclient: Store the winbind socket dir to use in the wb_contextKai Blin1-1/+1
2009-05-30libwbclient: Add async call framework.Kai Blin1-1/+1
2009-05-29Make cli_nt_delete_on_close() async.Jeremy Allison1-9/+9
Jeremy.
2009-05-27Add cli_posix_readlink() and a torture test for it.Jeremy Allison1-1/+15
Jeremy.
2009-05-27Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison1-2/+71
Missing call cli_readlink() is next. Jeremy.
2009-05-24use epoll for local-wbclient testVolker Lendecke1-1/+1
2009-05-22Test that POSIX open of a directory returns NT_STATUS_FILE_IS_A_DIRECTORY ↵Jeremy Allison1-1/+12
(ERRDOS, EISDIR). Jeremy.
2009-05-21s3 torture: Fix warningTim Prouty1-1/+1
2009-05-20Make cli_posix_open() and cli_posix_mkdir() async.Jeremy Allison1-8/+5
Jeremy.
2009-05-20Demonstrate a bug we have when dealing with real os-level share modesVolker Lendecke1-0/+75
Another one of those where you stare at logfiles for hours, and when you found it, it's absolutely obvious what is happening...
2009-05-19Make local-wbclient flexible in # of connections and opsVolker Lendecke1-4/+6
2009-05-14Make error message clearer on fail.Jeremy Allison1-2/+2
Jeremy.
2009-05-14Add a test showing what ascii values cause an NTFS volume toJeremy Allison1-0/+133
create a mangled name. We don't pass this yet, but it's not run by default. Jeremy.
2009-05-13s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher1-2/+6
metze
2009-05-09Fix the mangle1 testVolker Lendecke1-1/+1
2009-05-07Fix a typoVolker Lendecke1-1/+1
2009-05-07Add simple test chaining up sesssetup and tconVolker Lendecke1-0/+53
2009-05-06Make cli_setatr async.Jeremy Allison1-2/+2
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison1-5/+5
Jeremy.
2009-05-04Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison1-1/+1
Jeremy.
2009-05-04Torture test for bug #6315 - smbd crashes doing vfs_full_audit on IPC$ close ↵Jeremy Allison1-2/+28
event. Shows that doing a tdis with invalid uid succeeds. Jeremy.
2009-05-03Fix an invalid type warningVolker Lendecke1-1/+1
2009-05-03Fix some warnings due to uint16_t!=-1 always being trueVolker Lendecke1-4/+4
2009-05-02Attempt to fix the build on SerNet-sles8Volker Lendecke1-3/+6
That compiler does not like #if embedded into the macro NT_STATUS_IS_OK.
2009-05-01Add getaddrinfo_send/recvVolker Lendecke1-0/+55
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison1-63/+63
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-348/+232
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.
2009-04-29Make cli_unlink async.Jeremy Allison1-88/+88
Jeremy.
2009-04-28Convert cli_rename to async.Jeremy Allison1-5/+5
Jeremy.