summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r17141: Prove that create dispositions with truncate andJeremy Allison1-0/+71
overwrite break oplocks. Jeremy. (This used to be commit 94886f8c4029a9661a0bce2f7d9c41a3a5eaa366)
2007-10-10r17139: Checking in Volker's extended oplock test.Jeremy Allison1-86/+96
Jeremy (This used to be commit 720c425af167373aaedf739d1d7794ada3fcddf6)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-1/+1
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r15947: Do the same test on setting allocation info.Jeremy Allison1-2/+38
Jeremy. (This used to be commit b8f6f62acd2ae79c87303b72e8bea22abc3a6b6e)
2007-10-10r15946: Added check that proves that setpathinfo on anJeremy Allison1-0/+38
oplocked open file generates a break. Jeremy. (This used to be commit 061b519b27cecbeb0687426201caaa7e8d95d856)
2007-10-10r15033: expanded the RAW-OPLOCK test to include the different cases where theAndrew Tridgell1-40/+133
client chooses to break to none or break to level II, when offered a level II break from exclusive (This used to be commit 9a35b14422980fb9a8049058fd30e79d19a1e242)
2007-10-10r15016: add a test for a 2nd open with an exclusive oplock. It does not causeAndrew Tridgell1-1/+7
a break, as exclusive oplocks don't cache close requests (This used to be commit 9f2617a062e99805c42fe9b2fa0179b1672b25e5)
2007-10-10r15015: add an explanation for this testAndrew Tridgell1-1/+10
(This used to be commit 9fdeec506fe5005601c0589574d2b8ae3c6166e5)
2007-10-10r15014: added a simple batch oplock benchmarkAndrew Tridgell1-7/+87
Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and kernel oplocks enabled. With kernel oplock off it passes, though its a bit slow (This used to be commit 99df20246049c2645b04d5790b9e41c607872dc7)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-0/+1
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-1/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-20/+20
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-27/+27
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r13004: fix compiler warningsStefan Metzmacher1-4/+4
metze (This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
2007-10-10r12765: Revert an accidential commitVolker Lendecke1-86/+1
(This used to be commit d96c84126dcc1ec97e39814f21de167528fe886f)
2007-10-10r12764: Add a test for lsa_lookup. This will be expanded when I get around ↵Volker Lendecke1-1/+86
to add trusted domains. Volker (This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12549: fixed the problem with serialisation and the RAW-OPLOCK testAndrew Tridgell1-9/+34
(This used to be commit ad3b8286636f4101fa6528cb447aeeb7ee7507a4)