1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

21 Commits

Author SHA1 Message Date
Andrew Tridgell
785822590c r18516: I'm surprised that compilers allowed this at all
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10 14:18:41 -05:00
Andrew Bartlett
a133601192 r18498: While passing stack values into torture_tcase_add_test is bad, values
assigned into a static initialiser must be constant.

Wishing sweet dreams on the jet-lagged tridge :-)

Andrew Bartlett
(This used to be commit 174014d956cb1d246bd07218ea289418195a73fb)
2007-10-10 14:18:39 -05:00
Andrew Tridgell
870cae2736 r18497: fixed crash bug in irpc test - the torture_tcase_add_test() call
is passed a stack pointer from values[], which is not valid when the
torture suite is run.

Jelmer, need to be careful when converting test code not to use stack
values from the torture_XXX() call in the test suite
(This used to be commit 2744a0b385f58aaf0b45f33bec0d0a16c09709d7)
2007-10-10 14:18:38 -05:00
Jelmer Vernooij
920c1ca95c r16328: Wrap all existing tests in simple single-function testsuites.
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
582d46ec42 r16304: Improve testing UI API. This now allows registering the full
test suite tree, looks a bit more like other unit testing API's,
fixes some memory responsibility issues, introduces testcases,
and removes the need for tests to call torture_ok().
(This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10 14:09:09 -05:00
Jelmer Vernooij
d3c0cfb8a2 r16169: Convert to UI API
(This used to be commit 6306a3cc17aff23f54e3f4e7a36d6ab9f6739739)
2007-10-10 14:09:04 -05:00
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10 13:59:13 -05:00
Andrew Bartlett
e0dc53cf09 r12782: Don't segfault if we cannot setup messaging.
Andrew Bartlett
(This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
150848248a r12014: free the irpc_request structure with the irpc_call_recv functions,
to match all other _recv functions we have

metze
(This used to be commit bd4f85ab5f60c7430ac88062fa6a9f6cffa9596f)
2007-10-10 13:46:59 -05:00
Andrew Tridgell
06085e7bc0 r10490: - allow deferred irpc replies to set the status
- add an example of deferred reply for echodata in LOCAL-IRPC
(This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10 13:38:54 -05:00
Andrew Tridgell
fc58570940 r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC test
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10 13:30:15 -05:00
Andrew Tridgell
4c747e59d8 r8879: more expansion of the irpc test to try to uncover the ia64 mystery
(This used to be commit ff03b8148bdf7798af4e1704aba22635bb67cbe4)
2007-10-10 13:30:14 -05:00
Stefan Metzmacher
555eee1456 r8874: test some more combinations
metze
(This used to be commit 32c64e5bc2610d319b4e2e433e149cdd4bc538c9)
2007-10-10 13:30:14 -05:00
Stefan Metzmacher
18daf6ec4d r8873: add more checks
metze
(This used to be commit bfc855d78f4ffb6e0f30a2bb02d8b388abaa971b)
2007-10-10 13:30:13 -05:00
Stefan Metzmacher
e232ec6394 r8871: add some debugging code to findout why LOCAL-IRPC fails on 64bit hosts
metze
(This used to be commit 2c36b64dccb30609fbc9ed68b7ab090bcbf44633)
2007-10-10 13:30:13 -05:00
Stefan Metzmacher
c846ec3398 r8867: try to fix the LOCAL-IRPC test on 64bit platforms
metze
(This used to be commit b7401c142a53696eb74af4fc4bc992728846d20e)
2007-10-10 13:30:13 -05:00
Andrew Tridgell
27f457e3a8 r8818: - fix LOCAL-IRPC test for new ref-alloc semantics of irpc
- fixed return result from LOCAL-IRPC test

- added timelimit support

- ensure we free messages as they complete
(This used to be commit ab9a5fd84b3832e752024b92d5d7e2d89b9a1df8)
2007-10-10 13:30:08 -05:00
Andrew Tridgell
74aeab5329 r7358: make the irpc test use two messaging contexts, not one, so it better
matches the LOCAL-MESSAGING test
(This used to be commit 5883ce16d0b98c9c23ee60fe6089e0adf2ce8d15)
2007-10-10 13:17:46 -05:00
Andrew Tridgell
412e4bd820 r7321: add nbtd statistics serving over irpc
(This used to be commit 4c0ed7328b14969ea34790b0e80fa714c44ccc5f)
2007-10-10 13:17:41 -05:00
Andrew Tridgell
d934cb71d0 r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,
compared to about 20k messages/sec for the raw messaging layer. I
think that is quite acceptable given the extra functionality.
(This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10 13:17:38 -05:00
Andrew Tridgell
bf1ffa283c r7294: implemented the irpc messaging system. This is the core of the
management system I proposed on samba-technical a couple of days
ago. Essentially it is a very lightweight way for any code in Samba to
make IDL based rpc calls to anywhere else in the code, without the
client or server having to go to the trouble of setting up a full rpc
service.

It can be used with any of our existing IDL, but I expect it will
mostly be used for a new set of Samba specific management calls.

The LOCAL-IRPC torture test demonstrates how it can be used by calling
the echo_AddOne() call over this transport.
(This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
2007-10-10 13:17:37 -05:00