1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

468 Commits

Author SHA1 Message Date
Jeremy Allison
333870d5a0 Samba3.2 now passes a lot more tests - remove the S3 specific
exemptions.
Jeremy.
(This used to be commit a70719d579)
2008-03-11 13:39:04 -07:00
Jeremy Allison
fe3316431e Samba3 now passes the test_raw_oplock_exclusive3 test.
Jeremy.
(This used to be commit b2007956aa)
2008-03-11 12:37:20 -07:00
Jeremy Allison
de4a495438 Test trans2 renames with oplocks. It looks like trans2 renames
ignore share modes and oplock breaks :-(.
Jeremy.
(This used to be commit a8a5339cf2)
2008-03-11 10:21:09 -07:00
Michael Adam
97a272a4bf torture: fix escape sequence in test_chkpath().
Michael
(This used to be commit d92597d29c)
2008-03-07 15:00:37 +01:00
Stefan Metzmacher
e24d47ec2e RAW-OPLOCK: rename _ack_to_levelII() -> ack_to_given()
Also improve the output.

metze
(This used to be commit d0b641a9ee)
2008-03-06 17:19:43 +01:00
Stefan Metzmacher
4bfc32b160 RAW-OPLOCK: add BATCH24 test another case with a connection with no CAP_LEVEL_II_OPLOCKS
metze
(This used to be commit 4fb2c9fb1f)
2008-03-06 17:19:43 +01:00
Stefan Metzmacher
80104efb58 RAW-OPLOCK: add BATCH23 and test with a connection with no CAP_LEVEL_II_OPLOCKS
metze
(This used to be commit 2192d6d2bd)
2008-03-06 17:19:36 +01:00
Stefan Metzmacher
bc9bb918a1 RAW-OPLOCK: remove unused vars
metze
(This used to be commit 0905f3ebd1)
2008-03-06 17:19:34 +01:00
Stefan Metzmacher
8ff6647d29 RAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeouts
metze
(This used to be commit c459885898)
2008-03-04 14:40:56 +01:00
Stefan Metzmacher
13764eb02d RAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break it
metze
(This used to be commit a5476ee41c)
2008-03-04 14:40:51 +01:00
Stefan Metzmacher
e0081626ec RAW-SFILEINFO-RENAME: test renaming of directories by path and handle
metze
(This used to be commit ce2b7cec10)
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
863e65e955 RAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a file
metze
(This used to be commit 6c0395d4d9)
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
09173244d2 RAW-CHKPATH: also use qpathinfo NAME_INFO and check the returned name
Also add some more test combinations.

metze
(This used to be commit 09985b061a)
2008-02-29 15:17:52 +01:00
Jelmer Vernooij
73138c1198 raw-qfsinfo: Convert to new torture API.
(This used to be commit 6ded77b777)
2008-02-29 00:58:47 +01:00
Jelmer Vernooij
2946a11dc7 Remove use of global_loadparm.
(This used to be commit 4472d7e1e4)
2008-02-28 20:30:03 +01:00
Stefan Metzmacher
6d184c70ca RAW-OPLOCK: be more strict with share modes against windows and samba4
But still allow samba3 behavior.

metze
(This used to be commit a0decdf63e)
2008-02-27 16:33:33 +01:00
Stefan Metzmacher
202ffb47d7 RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work
metze
(This used to be commit 656011add3)
2008-02-27 16:33:32 +01:00
Stefan Metzmacher
a9e6ed7d7b RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()
metze
(This used to be commit b66c246c5d)
2008-02-27 16:33:31 +01:00
Stefan Metzmacher
7ad5e82388 RAW-OPLOCK: add BATCH19 test renaming via setpathinfo
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 7bac95db5e)
2008-02-27 16:33:30 +01:00
Stefan Metzmacher
1e94642723 RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME
metze
(This used to be commit 22c35d9ee7)
2008-02-27 16:33:30 +01:00
Stefan Metzmacher
852361b21a RAW-OPLOCK: add BATCH17 test rename on a file with oplock
metze
(This used to be commit 32f138d4b3)
2008-02-27 16:33:29 +01:00
Stefan Metzmacher
bc737332e6 RAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplock
metze
(This used to be commit 3886a5dea2)
2008-02-27 16:33:28 +01:00
Stefan Metzmacher
dcb43c6dbb RAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IF
metze
(This used to be commit 06547036e6)
2008-02-27 16:33:19 +01:00
Stefan Metzmacher
8f4147ce5d RAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IF
metze
(This used to be commit 2453628623)
2008-02-27 16:33:16 +01:00
Stefan Metzmacher
3df754a7a8 RAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive oplock
metze
(This used to be commit b22587a5db)
2008-02-27 16:32:35 +01:00
Stefan Metzmacher
c7b113beaf RAW-OPLOCK: add EXCLUSIVE3
This tests that a setpathinfo EOF breaks
an exclusive oplock to none.

metze
(This used to be commit fd5b4b3d4e)
2008-02-27 16:32:09 +01:00
Stefan Metzmacher
9bf7c3912a RAW-OPLOCK: add EXCLUSIVE2
Exclusive oplocks break to LEVEL2

metze
(This used to be commit 1cddadb052)
2008-02-27 16:32:09 +01:00
Stefan Metzmacher
ef892a398b RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)
metze
(This used to be commit 546536dde0)
2008-02-27 16:32:08 +01:00
Stefan Metzmacher
9d6ce7efaa RAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocks
metze
(This used to be commit 4d17d44d3f)
2008-02-26 14:52:50 +01:00
Stefan Metzmacher
5dc8d3ed8b RAW-OPLOCK: remove unused var
(This used to be commit 6820da4482)
2008-02-25 07:54:25 +01:00
Stefan Metzmacher
a64bd41601 RAW-OPLOCK: fix typo (send oplock releases on the correct connection)
metze
(This used to be commit f6ecf59c75)
2008-02-25 07:54:24 +01:00
Jelmer Vernooij
921b176484 Remove more uses of global_loadparm.
(This used to be commit 47d05ecf6f)
2008-02-21 14:50:57 +01:00
Andrew Tridgell
e939659e43 make the multiplier in the RAW-OFFLINE test settable
(This used to be commit f4b363d7a6)
2008-02-07 23:05:44 +11:00
Andrew Tridgell
8ef7ddbf89 added latency reporting
(This used to be commit f0ffbb8e19)
2008-01-25 17:27:36 +11:00
Andrew Tridgell
01a0aa4fd1 this is in seconds
(This used to be commit 019dd9a3d7)
2008-01-25 17:27:17 +11:00
Andrew Tridgell
3249f4f84e more useful output
(This used to be commit 033cab6546)
2008-01-25 15:00:45 +11:00
Andrew Tridgell
4e4e7dbff8 added a offline file torture test BASE-OFFLINE
(This used to be commit d4b26fb2a3)
2008-01-25 15:00:11 +11:00
Volker Lendecke
66871f9950 Add an exception for S3
Doing this correctly would involve a create_file call for qpathinfo
(This used to be commit da9a5b571e)
2008-01-20 15:55:33 +01:00
Jelmer Vernooij
dcc282590b r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
(This used to be commit 8a97886e24)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688 r26651: libsmb: Allow specifying signing policy from higher up.
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
5d0e4f2147 r26650: torture/raw: Fix warnings in lockbench/openbench.
I'm surprised this didn't cause any breakages. We should probably run (a subset of) RAW-LOCKBENCH + RAW-OPENBENCH in make test to make sure they don't regress.
(This used to be commit 9bea9c0c4f)
2008-01-03 12:33:35 -06:00
Jelmer Vernooij
969b8579c7 r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
(This used to be commit 0ef75e4e3c)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
(This used to be commit 385ffe4f4c)
2008-01-02 12:48:03 -06:00
Jelmer Vernooij
7d5f0e0893 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
4b0199a549 r26409: Pass smb ports along.
(This used to be commit 2833f320de)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
ab69eb8d89 r26250: Avoid global_loadparm in a couple more places.
(This used to be commit 2c6b755309)
2007-12-21 05:47:28 +01:00
Jelmer Vernooij
0a2f1a46a0 r26249: Remove a couple more uses of global_loadparm.
(This used to be commit 80a6120050)
2007-12-21 05:47:27 +01:00
Jelmer Vernooij
bbdfbf8d9d r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
(This used to be commit a33a553054)
2007-12-21 05:47:20 +01:00
Volker Lendecke
0c5443cbe5 r26184: Streams are tricky....
(This used to be commit f8c4a5ccc6)
2007-12-21 05:46:38 +01:00
Volker Lendecke
f6d91ea2e2 r26104: Revert 26103 -- breaks make test
(This used to be commit d1a220aee3)
2007-12-21 05:46:05 +01:00