PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Thu Nov 8 10:01:22 PST 2007


 src/polkit/polkit-error.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit da5c150b6f1dbd6d571afaa2e5037a1e7484d5b6
Author: David Zeuthen <davidz at redhat.com>
Date:   Thu Nov 8 12:58:10 2007 -0500

    add test case for PolKitError to get to 100%

diff --git a/src/polkit/polkit-error.c b/src/polkit/polkit-error.c
index f87f817..af016ad 100644
--- a/src/polkit/polkit-error.c
+++ b/src/polkit/polkit-error.c
@@ -232,6 +232,8 @@ _run_test (void)
                 polkit_error_free (e);
         }
 
+        g_assert (polkit_error_set_error (NULL, POLKIT_ERROR_OUT_OF_MEMORY, "This error will never get set"));
+
         return TRUE;
 }
 


More information about the hal-commit mailing list