summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
AgeCommit message (Collapse)AuthorFilesLines
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-11-02Remove another use of global_loadparm.Jelmer Vernooij1-1/+2
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 Vernooij1-1/+1
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-1/+2
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-09-30Cope with API changes.Jelmer Vernooij1-2/+3
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 Vernooij1-0/+1
(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-12RAW-RENAME: w2k3 just ignores a NTTRANS-RENAME!Stefan Metzmacher1-15/+50
metze (This used to be commit cd1b8efc5d8dc1eec03fe1bf1eb58dbded9584eb)
2008-03-11Added test_nttransrename() to test Metze's new code.Jeremy Allison1-0/+89
Jeremy. (This used to be commit 4556fafede8691c6a12670695ff108e9e59aff98)
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 Allison1-0/+106
ignore share modes and oplock breaks :-(. Jeremy. (This used to be commit a8a5339cf2ca218668f888eced5ffe7ce059553c)
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-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)
2008-02-27RAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplockStefan Metzmacher1-0/+72
metze (This used to be commit 3886a5dea2fa26eeed8bc1d20c44ef012ea1f746)
2008-02-27RAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IFStefan Metzmacher1-0/+72
metze (This used to be commit 06547036e6554dc94f683263b54d528eac227ea8)
2008-02-27RAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IFStefan Metzmacher1-0/+79
metze (This used to be commit 2453628623795c34ece18a285e6c2de40c4518de)
2008-02-27RAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive ↵Stefan Metzmacher1-0/+65
oplock metze (This used to be commit b22587a5db4a1e2d5fa1a944896330f1a86eef11)
2008-02-27RAW-OPLOCK: add EXCLUSIVE3Stefan Metzmacher1-0/+69
This tests that a setpathinfo EOF breaks an exclusive oplock to none. metze (This used to be commit fd5b4b3d4ec52572619dba065d689d58bec71ae0)
2008-02-27RAW-OPLOCK: add EXCLUSIVE2Stefan Metzmacher1-0/+95
Exclusive oplocks break to LEVEL2 metze (This used to be commit 1cddadb052106394046f03d65297ea68232e7492)
2008-02-27RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)Stefan Metzmacher1-4/+4
metze (This used to be commit 546536dde07d82dbba6724df95cdd1ba50caf8c5)
2008-02-26RAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocksStefan Metzmacher1-0/+74
metze (This used to be commit 4d17d44d3f418216a40c80f290f97a4dc29147b0)
2008-02-25RAW-OPLOCK: remove unused varStefan Metzmacher1-2/+1
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
2008-02-25RAW-OPLOCK: fix typo (send oplock releases on the correct connection)Stefan Metzmacher1-1/+1
metze (This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r25689: test with a non-zero size fileAndrew Tridgell1-0/+7
(This used to be commit 2a6713aa239d07f6898f507ddb3631504c379792)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-20/+20
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-12/+15
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be usedAndrew Tridgell1-0/+109
to test the interaction of oplocks with local filesystem or NFS access. You start it, then manually access the 4 files via another mechanism (such as a shell) and see what oplock breaks you get (This used to be commit 4c3e4564260e55434a54a013051db609c92cabe8)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-2/+2
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24670: Use torture functions for settings.Jelmer Vernooij1-1/+1
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10r24041: After metze's ack, check in torture_comment from Zack KrischVolker Lendecke1-2/+2
<zack.kirsch@isilon.com> (This used to be commit b1148b7ab84a18d4fea771c887ed7d535841982b)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23144: splitup RAW-OPLOCK into small unitsStefan Metzmacher1-83/+629
metze (This used to be commit 0cfe152cb143165b908ef023a06c4107efbdecb9)
2007-10-10r22579: disable progress printing in the build-farmStefan Metzmacher1-1/+4
metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-79/+80
This changes the main selftest code to be in perl rather than in shell script. The selftest script is now no longer a black box but a regular executable that takes --help. This adds the following features: * "make test TESTS=foo" will run only the tests that match the regex "foo" * ability to deal with expected failures. the suite will not warn about tests that fail and are known to fail, but will warn about other failing tests and tests that are succeeding tests but incorrectly marked as failing. * ability to print a summary with all failures at the end of the run It also opens up the way to the following features, which I hope to implement later: * "environments", for example having a complete domains with DCs and domain members in a testenvironment * only set up smbd if necessary (not when running LOCAL tests, for example) * different mktestsetup scripts per target. except for the mktestsetup script, we can use the same infrastructure for samba 3 or windows. (This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij1-1/+1
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+1
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)