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)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 4 Apr 2016 01:12:44 +0000 (10:12 +0900)
commit555cb6b16c21b35a69411847206b5caa4bce1bb3
treef6812b0288d4cc4cf341cce9dadeb32a020bbf5d
parent04e746746c98c24f9bfc4c89a91f7959ffcb17f3
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