]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: reserve more fds for commandtest
authorEric Blake <eblake@redhat.com>
Tue, 5 Feb 2013 16:15:20 +0000 (09:15 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 5 Feb 2013 17:47:00 +0000 (10:47 -0700)
commit3a9382ca2a68913bea459bd41786c621ef6b8b8d
treed83e69651e635dc303ff7047269578a702361270
parent753020dc2c75af08b8a2ef5239345a5e85959e2b
tests: reserve more fds for commandtest

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.
tests/commanddata/test3.log
tests/commandtest.c