summaryrefslogtreecommitdiffstats
path: root/source4/lib/messaging/tests
Commit message (Collapse)AuthorAgeFilesLines
* s4:irpc/tests: explicitly use dcerpc_binding_handle_set_sync_ev()Andrew Bartlett2014-05-131-0/+10
| | | | | | | | | | | | This indicates that we're using nested event loops... Andrew Bartlett Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Change-Id: I17d530a1f338cfdbd2e4e755b6f01a44a3e7ba7a Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:irpc/tests: make use explicit use of the top level event contextAndrew Bartlett2014-05-131-5/+6
| | | | | | | | Andrew Bartlett Change-Id: Ia193f97f62a1cb928aa814679578f90bde212013 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:lib/tests: add missing #include "torture/local/proto.h"Stefan Metzmacher2014-04-022-1/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett2011-10-132-4/+4
| | | | | | This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
* s4:messaging: use tevent_ function names instead of legacy event_ onesSimo Sorce2011-08-132-5/+5
|
* s4-messaging: fixed the removal of messaging sockets in child tasksAndrew Tridgell2011-07-222-7/+7
| | | | | | | | | | | | | | when a child task exits we were firing a destructor on any inherited messaging contexts, which could trigger a removal of the parents message socket and messaging database entry. This adds a new auto_remove flag to imessaging_init(), and exposes the cleanup code for use by the stream service. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 22 08:09:06 CEST 2011 on sn-devel-104
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-032-22/+22
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-112-2/+2
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-58/+0
|
* s4:lib/messaging/tests: make use of irpc_binding_handle()Stefan Metzmacher2010-09-031-22/+49
| | | | metze
* s4:lib/messaging/tests: fix some compiler warningsStefan Metzmacher2010-09-031-2/+2
| | | | metze
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-162-6/+6
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-1/+2
| | | | setUp methods are called, fix formatting.
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-182-6/+1
|
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* s4:lib/messaging - fix up the python bindingsMatthias Dieter Wallnöfer2009-11-071-2/+2
| | | | | | This fixes up the broken "send" method of the python bindings and corrects some other parameter lists in parsing functions (this is only cosmetic). The reason for the bug was a superfluous "|"!
* s4:lib/messaging: s/private/private_dataStefan Metzmacher2009-02-021-5/+5
| | | | metze
* s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher2009-02-011-2/+2
| | | | metze
* s4:lib/messaging: fix warnings in testsuiteStefan Metzmacher2009-02-011-2/+2
| | | | metze
* s4:lib/messaging: avoid c++ reserved word 'private'Stefan Metzmacher2009-02-011-2/+2
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-292-3/+3
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Remove evil hack which breaks Python bindings.Jelmer Vernooij2008-05-261-1/+1
| | | | (This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
* Provide access to server_id from python bindings, add more tests.Jelmer Vernooij2008-05-261-1/+33
| | | | (This used to be commit adcd87ad07abbf60a0152deae4b975a2401d701b)
* Add tests for irpc python bindings.Jelmer Vernooij2008-05-251-0/+25
| | | | (This used to be commit 1ce0632afeb94a69bf286706b3b1f9f4be7ea91f)
* Now that we don't create a new event context, don't free it.Andrew Bartlett2008-04-161-1/+0
| | | | | | | This previously would free the torture provided global event context. Andrew Bartlett (This used to be commit 664f2fc49f32a081f14638571ee0db01a7863347)
* Rework cluster_id() to take an additional argument, as we needAndrew Bartlett2008-02-042-10/+10
| | | | | | | <node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
* r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin2007-12-261-4/+5
| | | | | Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
* r26441: Remove global_loadparm uses.Jelmer Vernooij2007-12-212-4/+12
| | | | (This used to be commit 32007c6277efa46341da7741b749a98633d71640)
* r26328: remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
* r26266: Remove more global_loadparm uses.Jelmer Vernooij2007-12-212-9/+8
| | | | (This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
* r25902: Move messaging tests to same directory as code.Jelmer Vernooij2007-12-212-0/+409
(This used to be commit d174dcbb76f3079a5f536f841bfffab3d7cd51e9)