diff options
author | David Zeuthen <zeuthen@gmail.com> | 2012-06-06 14:32:26 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@gmail.com> | 2012-06-06 14:32:26 -0400 |
commit | 3d007cbc5d4a1560cdcca08b5ca0401371fc7b77 (patch) | |
tree | e28c5dd7ee568b33f4bc1211d36c8a563637ad3d /test | |
parent | 14121fda7e4fa9463c66ce419cc32be7e7f3b535 (diff) | |
download | polkit-3d007cbc5d4a1560cdcca08b5ca0401371fc7b77.tar.gz |
Make it work when using ConsoleKit instead of libsystemd-login
... although it would be nicer to just rip out the CK bits and simply
hard-require libsystemd-login instead - it should work just fine on
non-systemd systems, same way systemd-udev works fine there.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/polkitbackend/test-polkitbackendjsauthority.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/polkitbackend/test-polkitbackendjsauthority.c b/test/polkitbackend/test-polkitbackendjsauthority.c index 0a5d0e8..c7160f3 100644 --- a/test/polkitbackend/test-polkitbackendjsauthority.c +++ b/test/polkitbackend/test-polkitbackendjsauthority.c @@ -85,6 +85,8 @@ test_get_admin_identities_for_action_id (const gchar *action_id, caller, subject, user_for_subject, + TRUE, /* is_local */ + TRUE, /* is_active */ action_id, details); for (l = admin_identities, n = 0; l != NULL; l = l->next, n++) |