Remove a failing test
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Dec 2012 05:03:09 +0000 (00:03 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Dec 2012 05:03:09 +0000 (00:03 -0500)
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

index e5154ad..20cfcb9 100644 (file)
@@ -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);