summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-08-14RAW-OPEN: be more strict in create_option checkingStefan Metzmacher1-2/+11
metze (This used to be commit d548f5dee5980eae0aea25f1314238eb4f963568)
2008-08-14expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how theAndrew Tridgell1-0/+35
create options fields are supposed to work (This used to be commit 0576875eccaa21ad529c9db41db91781ad400d0f)
2008-07-19Fix RAW-OPEN against Samba3Volker Lendecke1-0/+1
This test assumed that fnums are recycled immediately after a close. This is not true on Samba 3. Andrew B., I assume this is just a bug in the test. Assuming recycled fnums might be true on Windows and Samba 4, but I don't think we should assume this everywhere. Volker (This used to be commit a4c3a59d47b2b1c794eda556d252c61907be1b3c)
2008-07-18More 'must be ignored' options from the MS-SMB doc.Andrew Bartlett1-34/+22
Also in particular the 'sync' flags (which Samba has traditionally ignored). Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out more flags that needed to be handled. Andrew Bartlett (This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
2008-07-16Ignore and handle more NT Create & X options.Andrew Bartlett1-0/+56
The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)