kdbus: TEST_CREATE_CONN now does no depend on TEST_CREATE_BUS
authorPaul Osmialowski <p.osmialowsk@samsung.com>
Wed, 29 Apr 2015 14:55:39 +0000 (16:55 +0200)
committerPaul Osmialowski <p.osmialowsk@samsung.com>
Thu, 9 Jul 2015 14:40:43 +0000 (16:40 +0200)
commit7bcdb1f8ec7e66666d84b50c26740e78c95596be
tree26bf6cd6a374d1194627a57a715fa5320b6d7479
parentb594651fc7ce543682cdff841215d010d5028793
kdbus: TEST_CREATE_CONN now does no depend on TEST_CREATE_BUS

Without this patch, it is impossible to specify test case able to
connect to a bus already created (e.g. by 'test-daemon' test case), you can
only specify:

1) TEST_CREATE_BUS which creates new bus, or
2) TEST_CREATE_CONN OR'ed with TEST_CREATE_BUS which creates new bus and
creates connection to it.

This patch adds the missing ability to specify TEST_CREATE_CONN alone.

It will be used by a new test case (will be added by separate commit) which
is supposed to connect to already started test-daemon case.

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