Testing PolicyKit

David Zeuthen david at fubar.dk
Mon Jan 7 10:12:34 PST 2008


On Mon, 2008-01-07 at 13:05 -0500, Joe Marcus Clarke wrote:
> Yeah, all of these problems have been fixed, and I will send a patch
> blob upstream when I get functionality confirmed (other patches may be
> required).

Sounds good, thanks.

> And the test suite assumes even more Linux-specific /proc things (like
> open files).  I thought it would be easier to test PK in some realish
> scenarios rather than port the test suite.


Maybe _kit_get_num_fd() should return a ssize_t and -1 if the feature is
not available. Though, I'd be surprised if FreeBSD didn't have this
feature...

I think it's pretty important to get the test suite to run; it covers a
bunch of corner cases..

      David




More information about the hal mailing list