summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r8229: A level2 oplock does not conflict a no-oplock open, but is broken on ↵Volker Lendecke1-0/+119
first write. Test that. Volker (This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-1/+1
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4035: more effort on consistent naming of the access mask bits.Andrew Tridgell1-2/+2
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and SEC_RIGHTS_FULL_CONTROL, which are just other names for SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names match the new naming conventions in security.idl Also added names for the generic->specific mappings for files are directories (This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
2007-10-10r4011: get rid of rpc_secdes.h and replace it with a single sane set ofAndrew Tridgell1-4/+5
definitions for security access masks, in security.idl The previous definitions were inconsistently named, and contained many duplicate and misleading entries. I kept finding myself tripping up while using them. (This used to be commit 01c0fa722f80ceeb3f81f01987de95f365a2ed3d)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-1/+1
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher1-27/+27
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1632: in case of error don't send uninitialised fnums on the wireAndrew Tridgell1-1/+1
(This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c)
2007-10-10r946: Updated attribute only oplock tester to cover more cases.Jeremy Allison1-5/+37
Jeremy. (This used to be commit 6c9d32173b26353e8ae00f7f6b666290651883e6)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-1/+1
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-2/+2
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-3/+3
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r865: Regression test for attribute-only opens not causing an oplock break.Jeremy Allison1-0/+29
Samba3 server used to get this wrong. Jeremy. (This used to be commit 4120b3bdf6668909efa0af97b2c63adea22c35da)
2004-03-25fixed the handling of level II oplocks in samba4, especially whenAndrew Tridgell1-1/+1
acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)