Testing PolicyKit
Joe Marcus Clarke
marcus at FreeBSD.org
Mon Jan 7 10:22:33 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Zeuthen wrote:
| 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...
FreeBSD does but it's not as trivial as reading from a text file in
/proc. Analysis of kernel structures is needed.
|
| I think it's pretty important to get the test suite to run; it covers a
| bunch of corner cases..
I guess since it's only for the test suite, I could just spawn fstat on
FreeBSD, and count the lines...
Joe
- --
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHgm3pb2iPiv4Uz4cRAuKyAKCo3BYzQnvYxJgN7tQcNE1S4LZFKQCfc2dG
NKwJ/wUuPwytq2eNDTne3nE=
=Mnx8
-----END PGP SIGNATURE-----
More information about the hal
mailing list