summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
2009-02-20s4 torture: Add comment to clarify testZack Kirsch1-0/+3
2009-02-20Added torture tests to RAW-NOTIFYSteven Danneman1-2/+150
* This adds a test to check the change notify behavior of the SMB server when more events have been generated than can be returned in a single change notify response. * Second test makes sure the server doesn't return notification events for changes to the watched directory itself
2009-02-18s4 torture: Add new test to create a file with a lot of streamsTim Prouty1-0/+45
This tests how streaminfo deals with large buffers smbclient seems to have problems when the buffer size approaches the max data size. Also smbclient exposes no way to specify the max data size that is sent in a trans2 request. Instead it hardcodes in a much larger max than windows uses. For these reasons this test isn't actually run, but is more of a reference for how windows handles streaminfo buffers.
2009-02-18s4 torture: Add additional streams create disposition testTim Prouty1-0/+20
2009-02-13s4 torture: Add rename test to imitate the way OS X renames filesAravind Srinivasan1-0/+83
This tests for mis-behaved case-insensitive get_real_filename implementations.
2009-02-11s4 torture: Smbtorture additions for Windows BRLZack Kirsch1-5/+566
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
2009-02-11s4 torture: Two minor fixes to smbtorture BRL tests.Zack Kirsch1-2/+0
2009-02-10s4 torture: Change nttransrename to use a normal access maskTim Prouty1-1/+1
batch9 already tests for stat-only opens
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher4-18/+18
metze
2009-02-02s4:torture: s/private/private_dataStefan Metzmacher2-14/+14
metze
2009-01-09s4 torture: Add new create disposition test to RAW-STREAMSTim Prouty1-1/+167
2009-01-07added support for stream renames in Samba4Andrew Tridgell1-1/+2
This allows the RAW-STREAMS test to work again. We still have some limitations though: - renames of a stream to the default stream doesn't work - delete on close handling between streams and the main file is still broken
2009-01-04s4 torture: Add more rename tests to RAW-STREAMSTim Prouty1-3/+198
There is one part of the new rename tests that passes against windows, but doesn't pass against samba3 right now. Windows allow renaming a stream to the default stream, but none of the current streams module support this. When this ability is added the check for samba can be removed from this test. This patch also adds a missing unlink in the cleanup of test_stream_delete and changes the order that the tests are run to be consistent with the physical order in the file.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher5-19/+19
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-23Fix more compiler warnings.Jelmer Vernooij2-2/+1
2008-12-22Make it clearer when RAW-STREAMS is failing (don't always print names).Jeremy Allison1-4/+6
Jeremy.
2008-12-19Add torture test for bug #5986 - streams rename, so we don't regress.Jeremy Allison1-0/+98
Jeremy.
2008-12-18RAW-CHKPATH: not every server behaves like samba3...Stefan Metzmacher1-1/+1
metze
2008-12-17Samba3 smbd now passes test BATCH23 (with the fix for bug #5979), only ↵Jeremy Allison1-4/+0
BATCH22 left to fix. Jeremy.
2008-12-13Added torture test for doing an openX over a directoryJeremy Allison1-0/+47
to ensure we get the correct error message. Jeremy.
2008-12-01RAW-STREAMS: test stream renamesStefan Metzmacher1-8/+74
metze
2008-12-01RAW-STREAMS: some more tests...Stefan Metzmacher1-18/+180
metze
2008-12-01RAW-STREAMS: test valid character in the range of 0x01 => 0x7FStefan Metzmacher1-0/+69
metze
2008-12-01RAW-STREAMS: check some strange stream name combinationsStefan Metzmacher1-0/+102
metze
2008-12-01RAW-CHKPATH: test every character in the range of 0x01 => 0x7FStefan Metzmacher1-0/+81
metze
2008-11-08Remove debug code added in error.Jeremy Allison1-13/+2
Jeremy.
2008-11-08Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison1-5/+18
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
2008-11-06Start factoring out the inheritance differences.Jeremy Allison1-1/+3
Jeremy.
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison1-1/+1
Jeremy.
2008-11-04Trigger (and fix) a bug in Samba3 making smbd an infinite data sourceVolker Lendecke2-0/+81
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
2008-11-03Be more verbose about a directory ACL error.Jeremy Allison1-0/+5
Jeremy.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij5-2/+8
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-02Fix the build.Jelmer Vernooij4-4/+2
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2-2/+8
should in the future only contain some settings required for gensec.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij3-0/+5
2008-10-28RAW-ACLS: test the behavior of NULL DACL vs. empty DACLStefan Metzmacher1-0/+244
This is based on the torture test attached to bug 4284 by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>. metze
2008-10-24Remove unused include param/param.h.Jelmer Vernooij9-9/+0
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij4-2/+7
2008-10-14Add the oplock-batch25 test showing that a writeattr does not break an oplockVolker Lendecke1-0/+70
Probably that's already somewhere else, but I did not find it.
2008-10-10Use const.Jelmer Vernooij1-5/+5
2008-09-30Use a getatr instead to make things cleaner.root1-2/+4
Jeremy.
2008-09-30Add in test name visible on the wire or in debug logs so you can see when ↵Jeremy Allison1-16/+17
particular tests start. Jeremy.
2008-09-30Cope with API changes.Jelmer Vernooij2-3/+6
2008-09-30Pass session options around; saves another use of global_loadparm.Jelmer Vernooij3-0/+3
2008-09-30Remove global_loadparm instance.Jelmer Vernooij1-1/+1
2008-09-30Pass options struct into session initialization functions rather thanJelmer Vernooij2-9/+22
using global_loadparm.
2008-09-26Add test to show you can open for delete a readonly file.Jeremy Allison1-0/+59
Jeremy.
2008-08-24fixed the data in SAVEFILE op in RAW-OFFLINEAndrew Tridgell1-1/+1
(This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1)
2008-08-24show the bad data in RAW-OFFLINEAndrew Tridgell1-3/+10
also show the worst case latencies so far, matching tsm_torture (This used to be commit 5859bb337ce2ec5091425ebd02cad14c4da40457)
2008-08-23don't use zero data for the first file in RAW-OFFLINEAndrew Tridgell1-2/+2
the most likely bugs in HSM involve zero data, due to the dm_punch_hole() request (This used to be commit 330ab956ea7e0b344450eee60b1357d854fbef28)