1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

401 Commits

Author SHA1 Message Date
Jelmer Vernooij
e5470270ba r24883: Use torture API.
(This used to be commit 9935aac0f3acd50ca775b8ccd74535c56a47ee33)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
ac2a701483 r24882: Use the torture API in BASE-CHARSET.
(This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
2007-10-10 15:03:27 -05:00
Volker Lendecke
afe87d6cfc r24798: RAW-SAMBA3POSIXTIMEDLOCK
This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
(This used to be commit b0a40dd277c343f5c77c851b26981ddd8166f6bb)
2007-10-10 15:03:12 -05:00
Ronnie Sahlberg
2e5e9411d4 r24768: redo the pingpong torture using sync functions to make the code simpler
(This used to be commit b4a6a4c1299ef916719a819203ef931847e59ee0)
2007-10-10 15:03:07 -05:00
Ronnie Sahlberg
c0641b4728 r24767: add a torture test that performs "ping-pong" that works the same way as
ping-pong.c

this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa745361eafe87c62b2988a7b6387b23e7)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
aaf7df0597 r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
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-10 15:03:06 -05:00
Jelmer Vernooij
748dcc3376 r24758: More use of torture API.
(This used to be commit e6f571227ed7428a98a7039a5eb777d3670572fa)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
0e6773525f r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10 15:03:00 -05:00
Jelmer Vernooij
2fefa818a9 r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10 15:02:58 -05:00
Andrew Bartlett
8794ffbc61 r24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett
(This used to be commit 771affed88edd1e2ad891bf2a253f7dc8082dd86)
2007-10-10 15:02:48 -05:00
Jelmer Vernooij
f96b1778a4 r24674: Make sure results are always on a new line, fix typo in test name.
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
d981c69a18 r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10 15:02:36 -05:00
Andrew Tridgell
f7f2323e47 r24588: use the right type
(This used to be commit 710f6dc17f4bdf994a5fefd439eee93e1774e70e)
2007-10-10 15:02:22 -05:00
Andrew Tridgell
51aced3dc8 r24587: the elements of the array are not talloc pointers
(This used to be commit 2ebf00dc42edfc3474dc88ef2e560d4b1b534efa)
2007-10-10 15:02:21 -05:00
Andrew Tridgell
2d6e6ebddc r24586: same bug in RAW-BENCH-OPEN
(This used to be commit 3bd35bb8abf2e49036d0356ce1b5db95908f7189)
2007-10-10 15:02:20 -05:00
Andrew Tridgell
489d23e808 r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure
(This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71)
2007-10-10 15:02:20 -05:00
Volker Lendecke
d9b9acd232 r24570: Attempt to fix make test
Samba4 seems not to survive the newly added tests
(This used to be commit b8a8a81ffe58ae8d7c2fd006c0cd285db714cbfe)
2007-10-10 15:02:18 -05:00
Volker Lendecke
7e43f973c4 r24569: Add two tests
A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug
(This used to be commit 786706322a920fd54585bec72d860ed112398f12)
2007-10-10 15:02:17 -05:00
Volker Lendecke
fb19fe7a51 r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Many hosts in the build farm don't have EA support
(This used to be commit 3cca299c72e0ae7da3d28d7284f1993eef9f1cea)
2007-10-10 15:02:11 -05:00
Jeremy Allison
103b1ead98 r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
to ERRDOS, ERRrename.
Jeremy.
(This used to be commit 7cc8be50b6c64bc1d0a3f43ab5d78a28260a3c93)
2007-10-10 15:01:55 -05:00
Jeremy Allison
255c24eb8f r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
is mapped to ERRDOS, ERRrename on a rename error, but mapped
to ERRDOS, ERRfilexists on an open error.
Jeremy.
(This used to be commit e634c627b155b8ce9d325b7b23236861993cfd59)
2007-10-10 15:01:55 -05:00
Jeremy Allison
e42ff21109 r24473: Prove this is also the same for NTcreateX. It's pretty much
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should
map to ERRDOS, ERRfilexists on all open calls at least.
Jeremy.
(This used to be commit 125590e008549b2784b38f3fd8ff45b47dc3e3e9)
2007-10-10 15:01:55 -05:00
Jeremy Allison
a97fa8124f r24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in
the errormap. This will break the build farm against Samba3 until I start adding
in the hand mapping from the above. Tridge - we may need to reconsider the mapping
here.
Jeremy.
(This used to be commit 74a871ce705a8362cfcc3e9f46ffdb63edc02b32)
2007-10-10 15:01:54 -05:00
Volker Lendecke
890c42045d r24041: After metze's ack, check in torture_comment from Zack Krisch
<zack.kirsch@isilon.com>
(This used to be commit b1148b7ab84a18d4fea771c887ed7d535841982b)
2007-10-10 15:01:18 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
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-10 14:59:12 -05:00
Jeremy Allison
4f2fe8e947 r23734: Add a test to prove tridge's theory that the mask, once set
on an open directory handle, is never changed. (He's right btw :-).
Jeremy.
(This used to be commit bf9242ad4561239fbc6e05c6879726f0df202f56)
2007-10-10 14:59:09 -05:00
Volker Lendecke
a7601c9829 r23492: Also activate the split out test...
(This used to be commit a3cb4bcae7a6eaac99e2cffbce4a8a7d7fcf1547)
2007-10-10 14:53:22 -05:00
Volker Lendecke
25abee0505 r23491: Split out the RENAME trans2 call into a separate test
(This used to be commit 80244f1ee66c3dbcc2958db4fa9ed333d9f0b40c)
2007-10-10 14:53:22 -05:00
Andrew Tridgell
95a3ca53e5 r23182: fixed valgrind error
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
aeac4f4800 r23181: prevent attempts to reopen the connection twice at the same time
(This used to be commit a25c27dbae4534f2125001c16ac9ae0b67c519cb)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
9b95f57530 r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT
(This used to be commit 32a6c268a7963382dc05f53783ac22f7fd0de429)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
12d9b33ed6 r23152: fixed some async retry issues in openbench
(This used to be commit 08eeaff0799051c3046a1101943b74d634828f6e)
2007-10-10 14:52:58 -05:00
Stefan Metzmacher
e3408e6160 r23144: splitup RAW-OPLOCK into small units
metze
(This used to be commit 0cfe152cb143165b908ef023a06c4107efbdecb9)
2007-10-10 14:52:57 -05:00
Andrew Tridgell
d142f4b0f2 r23143: error found by valgrind
(This used to be commit 268a26131ee43a673e7b79a359b2575dcef554d5)
2007-10-10 14:52:56 -05:00
Andrew Tridgell
a085d682e6 r23142: added error checking and reconnect on echo replies
(This used to be commit 0d47efe6d6d1738183c59942a077faaf1c77f004)
2007-10-10 14:52:56 -05:00
Andrew Tridgell
d79225c94a r23140: send send echos while disconnected
(This used to be commit 233172a9f71e297e255c393946ad51fad96b356e)
2007-10-10 14:52:55 -05:00
Andrew Tridgell
18a4d22880 r23139: use echo operations once a second in lockbench and openbench to ensure
we detect IP takeover on servers
(This used to be commit b5292a25edf1c071dea19877fb6b31f2501132ef)
2007-10-10 14:52:55 -05:00
Andrew Tridgell
5bb0dcd051 r23062: make sure one node doesn't get ahead of the others at the start
(This used to be commit 6ab736f5308aabec609408cef9e4c3629081dd75)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
9e1c88897c r23061: keep the RAW-BENCH-OPEN test balanced
(This used to be commit 453d6f5c58ef60599894749a513d45f1bf5f1c4e)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
4378af38ec r23056: added automatic reconnect to RAW-BENCH-OPEN, similar to RAW-BENCH-LOCK
(This used to be commit 30b1733d75a5f309441818be9718c0434b984f42)
2007-10-10 14:52:45 -05:00
Andrew Tridgell
fcd4f22cd6 r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
da9b4626bc r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We should
always get balanced locking now
(This used to be commit 4e6df7b9b1938b91a904ab061c36d65b169f93a8)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
e9eb862dc0 r22962: show progress separately for each client in RAW-BENCH-LOCK, this is
much more useful for seeing why we get unbalanced locking
(This used to be commit 1f1f57023b6d7d7d4938803e57f30e485ccba719)
2007-10-10 14:52:32 -05:00
Volker Lendecke
e1e759585e r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
(This used to be commit 0c7a518b2dad83dc78f3e3058fd8e1267d0e928f)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
3173a3cee6 r22881: show number of connected clients
(This used to be commit 42f6c5106ea4d0e35f88e0c9523cbd13206fecb5)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
2e11a2b601 r22876: - try to reconnect once per second, not continously
- patch from ronnie to fix the lock offset on reconnect
(This used to be commit 77d7ca5590bfc416a2526bc8833158df4e9d7810)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
3a88c56346 r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
This should help with Vista joins.

Andrew Bartlett
(This used to be commit 8f85fb37862044d4b618e4184274bc67432af73b)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
d307c116c8 r22873: Make the RAW-QFILEINFO-IPC test pass against Win2k3.
Next step is working on Samba4's IPC ntvfs module.

Andrew Bartlett
(This used to be commit aca0250492144a8f582fee8459c83b17391f9471)
2007-10-10 14:52:26 -05:00