]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: don't fail with newer gnutls
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 2 May 2014 07:55:52 +0000 (09:55 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 30 Oct 2014 14:33:08 +0000 (10:33 -0400)
commite5120a6efb7798e68af6b4f3b8bf10c600047c64
tree9b64c7112adc0fbddfd506676c8cce4b608bb85e
parentb16744ef670887062eae8e1022bff449cb1e7b8c
tests: don't fail with newer gnutls

gnutls-3.3.0 and newer leaves 2 FDs open in order to be backwards
compatible when it comes to chrooted binaries [1].  Linking
commandhelper with gnutls then leaves these two FDs open and
commandtest fails thanks to that.  This patch does not link
commandhelper with libvirt.la, but rather only the utilities making
the test pass.

Based on suggestion from Daniel [2].

[1] http://lists.gnutls.org/pipermail/gnutls-help/2014-April/003429.html
[2] https://www.redhat.com/archives/libvir-list/2014-April/msg01119.html

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
(cherry picked from commit 4cbc15d037e1cd8abf5c4aa6acc30d83ae13e34d)
tests/Makefile.am