Tim Foster wrote:

> I've a fix here to address
> 18010 cli.t_pkglint.TestPkglintCliDepot.test_2_badcache assumes /home is 
> read-only
> 
> It's short, so I've just included the diff below.  Could someone give it
> a quick code review please?

This looks fine, though we do lose a separate test-case.  Trying to create
something under an automounter-managed directory returns ENOSYS which is
different than the EACCES we'd get in a directory we don't have permissions
to, the EROFS we'd get in a read-only filesystem, etc.  I don't know that
it's particularly tragic, but it'd be nice to know sometimes that odd
errnos won't cause us to traceback.

Perhaps replace /home with /system/contract?  That's another special
filesystem you can't just write to, and also returns ENOSYS on mkdir and
open(O_CREAT).

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to