dbus-glib test-thread-server

Tomas Pelka tompelka at gmail.com
Wed Nov 12 02:39:49 PST 2008

Finally find solution, there was a bug in test-thread-server.c on line

 if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_UINT32)

 if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_INT32)

On Mon, 2008-11-03 at 17:13 +0100, Tomas Pelka wrote:
> Hi folks,
> I'm just trying test some stuff on dbus-glib. I've discovered some tests
> included in the source code. But I have few problems.
> In DBUS_GLIB_SRC/test/core are among other things two binaries
> "test-thread-server" and "test-thread-client". 
> server should start with one arg (address), e.g.: 
> ./test-thread-server unix:abstract=/tmp/dbus-test
> this is ok and it seems like server listen on this addr. But when I have
> problem with connecting through client. Client needs two args (addr and
> number of iters), I'm not able to set iters, e.g.:
> ./test-thread-client unix:abstract=/tmp/dbus-test 2 ..... doesn't work
> ./test-thread-server unix:abstract=/tmp/dbus-test "2" ..... doesn't work
> server still say "Second arg not right type".
> Have somebody idea how to set number of iters? 
> Thanks 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20081112/1d4436ba/attachment.pgp 

More information about the dbus mailing list