[libgnome-keyring] Remove checks for ACLs, since this functionality is no longer present.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Remove checks for ACLs, since this functionality is no longer present.
- Date: Mon, 14 Dec 2009 15:13:02 +0000 (UTC)
commit 8beffbe46a82b713bfbd8c798fb4269eea0f78e3
Author: Stef Walter <stef memberwebs com>
Date: Mon Dec 14 01:58:07 2009 +0000
Remove checks for ACLs, since this functionality is no longer present.
library/tests/test-keyrings.c | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/library/tests/test-keyrings.c b/library/tests/test-keyrings.c
index f466af2..0a17ed2 100644
--- a/library/tests/test-keyrings.c
+++ b/library/tests/test-keyrings.c
@@ -330,10 +330,9 @@ done_grant_access (GnomeKeyringResult res, gpointer data)
DEFINE_TEST(keyring_grant_access)
{
- GList *acl, *l;
+ GList *acl;
GnomeKeyringResult res;
gpointer op;
- gboolean found;
guint id;
/* Create teh item */
@@ -360,22 +359,6 @@ DEFINE_TEST(keyring_grant_access)
res = gnome_keyring_item_get_acl_sync (NULL, id, &acl);
g_assert_cmpint (GNOME_KEYRING_RESULT_OK, ==, res);
- /* Make sure it's in the list */
- found = FALSE;
- for (l = acl; l; l = g_list_next (l)) {
- GnomeKeyringAccessControl *ac = (GnomeKeyringAccessControl*)l->data;
- /* "null access control" */
- g_assert (ac != NULL);
- /* "null access control pathname" */
- g_assert (gnome_keyring_item_ac_get_path_name (ac) != NULL);
-
- if (strcmp (gnome_keyring_item_ac_get_path_name (ac), "/usr/bin/strangeness") == 0)
- found = TRUE;
- }
-
- /* "couldn't find acces granted" */
- g_assert (found == TRUE);
-
gnome_keyring_acl_free (acl);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]