test: sync the policy tests with the recent activators and policy holders changes
authorDjalal Harouni <tixxdz@opendz.org>
Tue, 5 Aug 2014 01:09:08 +0000 (02:09 +0100)
committerKay Sievers <kay@vrfy.org>
Tue, 5 Aug 2014 07:23:31 +0000 (09:23 +0200)
commit95ed4886abe472069736088f2daa34467e166073
treef5271bc5ca98c91f2e3e716929369327ad323a2c
parent419166844240515e380fd90e00373783e5aa6b89
test: sync the policy tests with the recent activators and policy holders changes

Recent commit 7015a1e6746e0c2 prevents special-purpose connections from
owning names, so update the test-kdbus-policy tests to follow and test
these changes.

Create a new policy holder connection which will register the policy for
an X name, and make the first conn_db[0] connection own that name.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/test-kdbus-policy.c