kdbus: Ability to run kdbus test by executable binary name
authorPaul Osmialowski <p.osmialowsk@samsung.com>
Wed, 29 Apr 2015 10:00:19 +0000 (12:00 +0200)
committerPaul Osmialowski <p.osmialowsk@samsung.com>
Thu, 9 Jul 2015 14:40:44 +0000 (16:40 +0200)
commitf208a67e06e03cb4a5f5d2719dd47404929ac2d3
treedfd7b9eee57979016505da59a24ec0f5f88e3493
parent7ddf556cb258dd9a46d926e86d16a1c0fad314a1
kdbus: Ability to run kdbus test by executable binary name

With this applied, you can do following:

$ cp kdbus-test daemon
$ cp kdbus-test send

Then run 'daemon' in one shell session:

$ ./daemon --bus test

...and 'send' in another:

$ ./send --bus test

Useful for testing features introduced by previous patches.

Change-Id: Ic66355e664b7920736a0063b0ae6b456706d7d8d
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
tools/testing/selftests/kdbus/kdbus-test.c