On Mon, Jul 18, 2011 at 6:08 AM, Sebastian Nowicki <[email protected]> wrote:
> On Mon, Jul 18, 2011 at 12:16 PM, Kerrick Staley <[email protected]> 
> wrote:
>> Also, can anyone recommend a way to easily test a change such as this?
>
>
> Probably not what you want to hear, but you can create a unit test
> suite, which would be trivial for a function such as this (no state or
> I/O). Pacman/libalpm has functional tests, as described in
> ./test/pacman/README.

We currently have extremely simplistic support for this in pactest,
and it will need some massive improvement in the future. See the
one-liner change I had to make in conf.py (s/VerifySig/SigLevel/), but
we really need to test all aspects of signing and keyrings and all
that, which we currently don't do at all.

-Dan

Reply via email to