On Sat Mar 04 18:32:58 2006, CHROMATIC wrote:
Show quoted text> I'm afraid I don't see the point of expecting users to know and to set
> an environment variable before being able to test that the distribution
> is as I intended it to be when I signed it.
Because verifying the signature of a distribution is an external
operation; if the distribution has been corrupted/affected by a
malefactor then said malefactor could easily have messed with the test.
CPAN and CPANPLUS are both capable of checking signatures themselves - I
don't see the point of expecting users to know that your distribution
considers itself special and effectively bypasses their chosen
configuration options on their package installation tool.
Maybe you could detect whether you're running under CPAN(PLUS) and only
run this test if not; if you can't find a way to do that effectively
then the test should be disabled or removed.
Show quoted text> Looking at the build process for Module::Signature, I think it's clear
> that it expects you to have a GPG-workalike installed as a prerequisite,
> so I think this is a problem with that module on your system instead.
If it'll happily install without a suitable external program to use,
then yes that's an issue of Module::Signature. It doesn't stop
Test::Mockobject's behaviour being decidedly silly.