[pacman-dev] [PATCH 0/3] unit tests for -Qk and -Qkk

Allan McRae allan at archlinux.org
Wed Oct 2 22:59:29 EDT 2013


On 03/10/13 01:48, Jeremy Heiner wrote:
> The hooks mechanism created here could potentially be used to write
> unit tests for other scenarios... For example: reinstalling to repair
> damaged files. The genhook would do the install (so the snapshot would
> match the desired final state), the snaphook would damage a file or
> two, and the reinstall-from-local-db would be the test action proper.
> 
> Jeremy Heiner (3):
>   Add pmtest.rootjoin() and clean up some duplicate joins.
>   Simplify pmtest.generate and .run API (removed pacman parameter).
>   Added tests for -Q --check (both fast(files) and full(mtree)).

I'd appreciate if someone else can review these for me.  I rarely deal
with the test suite and my python knowledge is limited, so reviewing
test suite patches takes me too much time.

Allan


More information about the pacman-dev mailing list