summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-02-22Ensure STREAMERROR deletes any files in the \\testdirJeremy Allison1-0/+1
before rmdir and mkdir. Jeremy.
2010-02-21s3: Use the status from cli_raw_ioctl in torture_ioctl_testVolker Lendecke1-2/+2
2010-02-20s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some testsVolker Lendecke1-6/+18
2010-02-20s3: Add printf why LOCAL-dom_sid_parse failedVolker Lendecke1-0/+3
2010-02-12s3:torture: add a test LOCAL-DBTRANS to torture dbwrap with transactions.Volker Lendecke1-0/+130
2010-02-12s3: setup debug for smbtortureVolker Lendecke1-0/+2
2010-02-01Torture test for bug 7084 - Create time on directories not stored properly ↵Jeremy Allison1-0/+87
in an EA in new create time code. Ensure new files in a directory don't reset the create time. Jeremy.
2010-01-23s3: Add a little torture test for dom_sid_parseVolker Lendecke1-0/+18
2010-01-03s3: Fix a shadowed variable warningVolker Lendecke1-3/+3
2010-01-03s3: Fix an uninitialized variable warningVolker Lendecke1-1/+2
2010-01-03s3: Convert cli_ulogoff to the async APIVolker Lendecke1-4/+7
2010-01-03s3: Convert cli_tdis to the async APIVolker Lendecke1-7/+14
2009-12-01s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)Michael Adam1-2/+2
I don't know whether these t_* programs are used at all any more, but this one was using pstrcpy... Michael
2009-11-29s3: Add a regression test for bug 6898Volker Lendecke3-0/+104
2009-11-29s3: Factor out torture_setup_unix_extensionsVolker Lendecke2-19/+32
2009-11-27s3-nsstest: drastically shrink size and dependencies of nsstest binary.Günther Deschner1-7/+14
The size went down from 6.4M to 104K on my box. Guenther
2009-11-24s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timerStefan Metzmacher2-33/+19
metze
2009-11-24s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-2/+5
start_timer/end_timer metze
2009-11-24s3:fix the merged build of bin/smbtorture4Michael Adam7-6/+6
Michael
2009-11-23s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam7-0/+87
Michael
2009-11-21s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke1-0/+9
2009-11-14s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke1-3/+5
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke1-5/+10
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-29s3:nsstest: Fix a very confusing behaviour in nsstestVolker Lendecke1-2/+2
Testing getgrent I thought I get the offset calculations wrong whereas it was only nsstest printing stuff with spaces...
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-20s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty1-9/+4
2009-07-15Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.Jeremy Allison3-25/+25
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-14s3-account_policy: add pdb_policy_type enum.Günther Deschner1-3/+3
Guenther
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-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty1-1/+13
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty1-1/+11
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty1-1/+20
2009-07-03Fix two pointless staticsVolker Lendecke1-1/+1
2009-07-03Test error codes on popular streamsVolker Lendecke1-0/+54
2009-06-24s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty1-2/+24
This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed.
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-17s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty1-1/+12
This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.