[glib] Remove a failing test



commit 12ad403a43763aa4a99a6055c3cccd2677252430
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 29 00:03:09 2012 -0500

    Remove a failing test
    
    Since we stripped g_credentials_set_pid(), the test for
    g_credentials_get_pid() can't succeed anymore, so remove it.

 gio/tests/credentials.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gio/tests/credentials.c b/gio/tests/credentials.c
index e5154ad..20cfcb9 100644
--- a/gio/tests/credentials.c
+++ b/gio/tests/credentials.c
@@ -72,10 +72,6 @@ test_basic (void)
   g_assert (set);
 
   g_assert_cmpuint (g_credentials_get_unix_user (other, &error), ==, not_me);
-  g_assert_no_error (error);
-  g_assert_cmpuint (g_credentials_get_unix_pid (other, &error), ==, 1);
-  g_assert_no_error (error);
-
   g_assert (!g_credentials_is_same_user (creds, other, &error));
   g_assert_no_error (error);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]