How to make automated tests for clients of D-Bus system service?

Miroslav Kravec <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CA+NaYLNqR7Mj7P_wSPDssPF=u=HBo70TyxWPVXUnU84OL136rw@mail.gmail.com>
Hello,

I have recently implemented D-Bus system service to perform HW access
operations under root user, and expose secure interface to regular
users.

I would like to create automated tests for a client, including
valgrind tests for safe memory access and no memory leak.

How do I make following testing environment/setup:

* create "fake" system service with hardcoded, or generated, answers
to method calls,
* run "fake" system service without root access,

Kind regards,
Miroslav Kravec
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.