[libvirt] PATCH: 4/4: Switch many testcases to OOM checking APIs

Jim Meyering jim at meyering.net
Tue May 27 12:08:02 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:

> This switches over a number of the test cases to make use of the new
> virTestMain() function and thus gain support for allocation checking
>
> So you can now actually see some checks when running

In addition, this is changing s/exit/return/ and
s/abs_top_srcdir/abs_srcdir/
[BTW, thanks.  This latter has prodded me to do similar
 automated clean-up to coreutils' ~300 test scripts. ]

ACK

>
>    VIR_TEST_OOM=1 make check
>
> Oh, and for added fun you can check if there are any leaks in the cleanup
> paths by layering in valgrind
>
>     VIR_TEST_OOM=1 make valgrind




More information about the libvir-list mailing list