Alexander R. Eremin wrote: > On Wed, 2009-02-04 at 00:55 -0600, Shawn Walker wrote: >> Greetings, >> >> I'm in the process of writing unit tests, and have discovered that >> action doesn't really do any verification that "required" attributes >> (such as 'path' for file, directory, etc.) are present. This means you >> can blithely construct useless actions that break other parts of the system. > Checking is required, but all the same it would be desirable to have > something like a PKG_PLEASE_LET_ME_HURT_MYSELF - let even the pkg asks 2 > times: for grey-headed sysadmins and developers it sometimes is > necessary ;)
Why do you WANT_TO_HURT_YOURSELF though? :-) It isn't going to exit and just say "bad action"; it's going to tell you why... Cheers, -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
