Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Michael Adam
195853464a
smbtorture: fix typos in RAW-OPLOCK output.
...
Michael
(This used to be commit 9fa4b53b61064c910b8f5c9c676c971023b8670c)
2008-03-18 16:10:46 +01:00
Stefan Metzmacher
3530099cf2
RAW-BENCH-OPEN: avoid sync calls before the main loop
...
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-17 16:06:07 +01:00
Stefan Metzmacher
b65ad8966a
RAW-BENCH-OPEN: fix the output and calculate the total operations
...
metze
(This used to be commit c84e3abae9781c0cbea5fee00bafe70967fb6468)
2008-03-17 15:50:54 +01:00
Stefan Metzmacher
23ab56cd80
RAW-RENAME: w2k3 just ignores a NTTRANS-RENAME!
...
metze
(This used to be commit cd1b8efc5d8dc1eec03fe1bf1eb58dbded9584eb)
2008-03-12 15:13:28 +01:00
Stefan Metzmacher
2801b6a522
RAW-STREAMS: do a exit on the session after each sub tests
...
metze
(This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)
2008-03-12 14:23:30 +01:00
Stefan Metzmacher
6e9d25157d
RAW-STREAMS: do what the comments say
...
metze
(This used to be commit eb68a8ed4fa214ad2e858a7fbdf9b5376cda6e04)
2008-03-12 14:23:30 +01:00
Jeremy Allison
799cfe0d76
Added test_nttransrename() to test Metze's new code.
...
Jeremy.
(This used to be commit 4556fafede8691c6a12670695ff108e9e59aff98)
2008-03-11 15:27:08 -07:00
Stefan Metzmacher
fdd7f68660
RAW-SEARCH: skip RESUME_KEY tests against samba3
...
metze
(This used to be commit ca5b37747107bd2941f7415fe609c8293a6b5f7c)
2008-03-11 21:59:16 +01:00
Jeremy Allison
333870d5a0
Samba3.2 now passes a lot more tests - remove the S3 specific
...
exemptions.
Jeremy.
(This used to be commit a70719d579a7eefbfd973267b95a87aaa6b649b0)
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 b2007956aa4534f22ad7fd85b0aee0be769548ae)
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 a8a5339cf2ca218668f888eced5ffe7ce059553c)
2008-03-11 10:21:09 -07:00
Michael Adam
97a272a4bf
torture: fix escape sequence in test_chkpath().
...
Michael
(This used to be commit d92597d29caf76e1c8d0858f066d7a30143392e9)
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 d0b641a9ee36939468beb427bf6b15892342a33d)
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 4fb2c9fb1f4e3ee23281ca83f8b91d252cbf53c7)
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 2192d6d2bda2afd2ba1ed0cb68bdfe590b9d50af)
2008-03-06 17:19:36 +01:00
Stefan Metzmacher
bc9bb918a1
RAW-OPLOCK: remove unused vars
...
metze
(This used to be commit 0905f3ebd1cb1ac9cefc4272208add9e5a8d7f59)
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 c459885898c9912df1ae5afff4fef2ff809dc15e)
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 a5476ee41c140123db160b2e36c8c7084619a738)
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 ce2b7cec10af5bb222715e2e3c0ff139f659ed6e)
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 6c0395d4d980c6165ee0a378b632bced22e8f1d3)
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 09985b061add8202f65e2e426d70e87c19819f74)
2008-02-29 15:17:52 +01:00
Jelmer Vernooij
73138c1198
raw-qfsinfo: Convert to new torture API.
...
(This used to be commit 6ded77b777666f8ba81ba049f63b6b26cfbeb7ae)
2008-02-29 00:58:47 +01:00
Jelmer Vernooij
2946a11dc7
Remove use of global_loadparm.
...
(This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)
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 a0decdf63e2f7ef6ee62a3fda5070b2fccee5682)
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 656011add338ab87188849c4a716d3c65a102a74)
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 b66c246c5db78db897bcf21a6ea3c777d65cfc6a)
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 7bac95db5edcc7432aea067e0a9ba9230c7dc1b0)
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 22c35d9ee7858c0ff58d5d0b4a9bf69fe0b8653f)
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 32f138d4b313a6c5e8ef8e15945df02e3b4db864)
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 3886a5dea2fa26eeed8bc1d20c44ef012ea1f746)
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 06547036e6554dc94f683263b54d528eac227ea8)
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 2453628623795c34ece18a285e6c2de40c4518de)
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 b22587a5db4a1e2d5fa1a944896330f1a86eef11)
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 fd5b4b3d4ec52572619dba065d689d58bec71ae0)
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 1cddadb052106394046f03d65297ea68232e7492)
2008-02-27 16:32:09 +01:00
Stefan Metzmacher
ef892a398b
RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)
...
metze
(This used to be commit 546536dde07d82dbba6724df95cdd1ba50caf8c5)
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 4d17d44d3f418216a40c80f290f97a4dc29147b0)
2008-02-26 14:52:50 +01:00
Stefan Metzmacher
5dc8d3ed8b
RAW-OPLOCK: remove unused var
...
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
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 f6ecf59c7555917374fc9e5430034815fd4cd245)
2008-02-25 07:54:24 +01:00
Jelmer Vernooij
921b176484
Remove more uses of global_loadparm.
...
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
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 f4b363d7a65023c816264b58d6f3f07730b43c0c)
2008-02-07 23:05:44 +11:00
Andrew Tridgell
8ef7ddbf89
added latency reporting
...
(This used to be commit f0ffbb8e19c1085bf54d226f62c667868e14f62e)
2008-01-25 17:27:36 +11:00
Andrew Tridgell
01a0aa4fd1
this is in seconds
...
(This used to be commit 019dd9a3d7d9af8ab71a10802c728f5ab5cf781d)
2008-01-25 17:27:17 +11:00
Andrew Tridgell
3249f4f84e
more useful output
...
(This used to be commit 033cab6546d943089eefc298b335db03c1d0ebb6)
2008-01-25 15:00:45 +11:00
Andrew Tridgell
4e4e7dbff8
added a offline file torture test BASE-OFFLINE
...
(This used to be commit d4b26fb2a38aa5b0ed2b6083641b9d8306af8c58)
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 da9a5b571ea87b2e08c74463d3fae58a9eb0828a)
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 8a97886e24a4b969aa91409c06f423b71a45f6eb)
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 9f64213463b5bf3bcbf36913139e9a5042e967a2)
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 9bea9c0c4f62dabaaad4c56e7e55da96571b1e1d)
2008-01-03 12:33:35 -06:00