[pacman-dev] [PATCH] Add test directory for testing private libalpm functions.

Dan McGee dpmcgee at gmail.com
Fri Dec 7 18:13:41 EST 2007


On Dec 7, 2007 3:56 PM, Nathan Jones <nathanj at insightbb.com> wrote:
> I found this useful when testing the shortest_delta_path code. Recently,
> I ran valgrind on the test which helped to discover the memory leak.
>
> Not sure if you guys will want to apply this, but here it is.
>
> Signed-off-by: Nathan Jones <nathanj at insightbb.com>

I really think we do need some test programs directly on libalpm-
things that pactest can't fully set on fire.

I'd definitely like to write a unit test harness for alpm_list_t, so
this may provide some inspiration for that.

-Dan




More information about the pacman-dev mailing list