summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-05-26check use of mincnt past EOF in SMBAndrew Tridgell1-0/+17
(This used to be commit 763c9d344fa55da7a24c250d29542837c3ae3971)
2008-05-23RAW-STREAMS: better test the bahavior of streams on directoriesStefan Metzmacher1-10/+85
Note: this has a samba3 specific code path, which we should fixed. metze (This used to be commit 5c5c86683877337ff60526a40e7b689f604e40f8)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach2-0/+203
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij2-3/+3
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-22Fix more failing tests to pass the event context.Simo Sorce2-2/+2
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-21Fix buildSimo Sorce1-0/+1
(This used to be commit c16d1d430a0f1e3643c1e769b10e9d88b4719d17)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-2/+2
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-21smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.James Peach2-0/+321
This test samples the lookup rate for a non-existant filename in a directory, while varying the number of files in the directory. The lookup rate should continue to approximate the lookup rate for the empty directory case. (This used to be commit ca7e4d9166a7cb10495cf3ecd9c4e72103fbec30)
2008-04-17Fix the build.Jelmer Vernooij3-4/+4
(This used to be commit 40b7b0e503cff31ea4e3d4822f2263fbeb76c57a)
2008-04-17Use provided event context rather than looking for it.Jelmer Vernooij3-13/+10
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij1-6/+4
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-16Avoid event_find_context when a event context is already available.Jelmer Vernooij1-2/+1
(This used to be commit 4ca264679ecfd938c538a93f4efff1bfa23c3744)