summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij19-1/+20
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-18smbtorture: fix typos in RAW-OPLOCK output.Michael Adam1-2/+2
Michael (This used to be commit 9fa4b53b61064c910b8f5c9c676c971023b8670c)
2008-03-17RAW-BENCH-OPEN: avoid sync calls before the main loopStefan Metzmacher1-33/+55
On multi cpu machines the server may reply to the first requests while the test is still in setup mode. Now we setup the first opens, but send them all together when entering the main loop. metze (This used to be commit 3f2d12c61e95475009baf77c3e0fbea2abecc17a)
2008-03-17RAW-BENCH-OPEN: fix the output and calculate the total operationsStefan Metzmacher1-7/+17
metze (This used to be commit c84e3abae9781c0cbea5fee00bafe70967fb6468)
2008-03-12RAW-RENAME: w2k3 just ignores a NTTRANS-RENAME!Stefan Metzmacher1-15/+50
metze (This used to be commit cd1b8efc5d8dc1eec03fe1bf1eb58dbded9584eb)
2008-03-12RAW-STREAMS: do a exit on the session after each sub testsStefan Metzmacher1-0/+2
metze (This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)
2008-03-12RAW-STREAMS: do what the comments sayStefan Metzmacher1-3/+5
metze (This used to be commit eb68a8ed4fa214ad2e858a7fbdf9b5376cda6e04)
2008-03-11Added test_nttransrename() to test Metze's new code.Jeremy Allison2-1/+92
Jeremy. (This used to be commit 4556fafede8691c6a12670695ff108e9e59aff98)
2008-03-11RAW-SEARCH: skip RESUME_KEY tests against samba3Stefan Metzmacher1-0/+10
metze (This used to be commit ca5b37747107bd2941f7415fe609c8293a6b5f7c)
2008-03-11Samba3.2 now passes a lot more tests - remove the S3 specificJeremy Allison1-67/+32
exemptions. Jeremy. (This used to be commit a70719d579a7eefbfd973267b95a87aaa6b649b0)
2008-03-11Samba3 now passes the test_raw_oplock_exclusive3 test.Jeremy Allison1-8/+2
Jeremy. (This used to be commit b2007956aa4534f22ad7fd85b0aee0be769548ae)
2008-03-11Test trans2 renames with oplocks. It looks like trans2 renamesJeremy Allison2-0/+110
ignore share modes and oplock breaks :-(. Jeremy. (This used to be commit a8a5339cf2ca218668f888eced5ffe7ce059553c)
2008-03-07torture: fix escape sequence in test_chkpath().Michael Adam1-1/+1
Michael (This used to be commit d92597d29caf76e1c8d0858f066d7a30143392e9)
2008-03-06RAW-OPLOCK: rename _ack_to_levelII() -> ack_to_given()Stefan Metzmacher1-61/+75
Also improve the output. metze (This used to be commit d0b641a9ee36939468beb427bf6b15892342a33d)
2008-03-06RAW-OPLOCK: add BATCH24 test another case with a connection with no ↵Stefan Metzmacher1-0/+77
CAP_LEVEL_II_OPLOCKS metze (This used to be commit 4fb2c9fb1f4e3ee23281ca83f8b91d252cbf53c7)
2008-03-06RAW-OPLOCK: add BATCH23 and test with a connection with no CAP_LEVEL_II_OPLOCKSStefan Metzmacher1-0/+121
metze (This used to be commit 2192d6d2bda2afd2ba1ed0cb68bdfe590b9d50af)
2008-03-06RAW-OPLOCK: remove unused varsStefan Metzmacher1-3/+0
metze (This used to be commit 0905f3ebd1cb1ac9cefc4272208add9e5a8d7f59)
2008-03-04RAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeoutsStefan Metzmacher1-0/+118
metze (This used to be commit c459885898c9912df1ae5afff4fef2ff809dc15e)
2008-03-04RAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break itStefan Metzmacher1-0/+70
metze (This used to be commit a5476ee41c140123db160b2e36c8c7084619a738)
2008-02-29RAW-SFILEINFO-RENAME: test renaming of directories by path and handleStefan Metzmacher1-8/+84
metze (This used to be commit ce2b7cec10af5bb222715e2e3c0ff139f659ed6e)
2008-02-29RAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a fileStefan Metzmacher1-0/+25
metze (This used to be commit 6c0395d4d980c6165ee0a378b632bced22e8f1d3)
2008-02-29RAW-CHKPATH: also use qpathinfo NAME_INFO and check the returned nameStefan Metzmacher1-11/+66
Also add some more test combinations. metze (This used to be commit 09985b061add8202f65e2e426d70e87c19819f74)
2008-02-29raw-qfsinfo: Convert to new torture API.Jelmer Vernooij1-16/+13
(This used to be commit 6ded77b777666f8ba81ba049f63b6b26cfbeb7ae)
2008-02-28Remove use of global_loadparm.Jelmer Vernooij1-0/+2
(This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)
2008-02-27RAW-OPLOCK: be more strict with share modes against windows and samba4Stefan Metzmacher1-19/+32
But still allow samba3 behavior. metze (This used to be commit a0decdf63e2f7ef6ee62a3fda5070b2fccee5682)
2008-02-27RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file workStefan Metzmacher1-2/+2
metze (This used to be commit 656011add338ab87188849c4a716d3c65a102a74)
2008-02-27RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()Stefan Metzmacher1-0/+135
metze (This used to be commit b66c246c5db78db897bcf21a6ea3c777d65cfc6a)
2008-02-27RAW-OPLOCK: add BATCH19 test renaming via setpathinfoStefan Metzmacher1-0/+112
This is really strange as, it seems to complete ignore oplocks and share modes and doesn't match the behavior of RENAME and NTRENAME. metze (This used to be commit 7bac95db5edcc7432aea067e0a9ba9230c7dc1b0)
2008-02-27RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAMEStefan Metzmacher1-0/+75
metze (This used to be commit 22c35d9ee7858c0ff58d5d0b4a9bf69fe0b8653f)
2008-02-27RAW-OPLOCK: add BATCH17 test rename on a file with oplockStefan Metzmacher1-0/+75
metze (This used to be commit 32f138d4b313a6c5e8ef8e15945df02e3b4db864)