[libvirt] [PATCH] tests: reserve more fds for commandtest

Laine Stump laine at laine.org
Tue Feb 5 16:46:42 UTC 2013


On 02/05/2013 11:17 AM, Eric Blake wrote:
> Commit 39c77fe triggered random failures, depending on the platform
> and what other fds leak into the testsuite (for me, it passed on
> RHEL 6 but failed on Fedora 18).  The reason was that we were
> expecting an fd that fell outside of our reserved range.  By reserving
> a larger range, the test once again passes on all platforms.
>
> * tests/commandtest.c (mymain): Reserve enough fds.
> ---
>
> I'll wait a bit for a review, but if I don't get one, I'll push
> this under the build-breaker rule.

Fixes the problem for me too. ACK.





More information about the libvir-list mailing list