Re: [PATCH 4/6] port allocator: drop skip flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/20/2017 07:35 AM, Nikolay Shirokovskiy wrote:
> This flag is only used for tests and tests overload socket and bind
> functions using virportallocatormock.c already in a suitable fashion
> so we don't need this flag at all.
> ---
>  src/bhyve/bhyve_driver.c       |  2 +-
>  src/libxl/libxl_driver.c       |  5 ++---
>  src/qemu/qemu_driver.c         |  9 +++------
>  src/util/virportallocator.c    | 14 ++++----------
>  src/util/virportallocator.h    |  7 +------
>  tests/bhyvexml2argvtest.c      |  3 +--
>  tests/libxlxml2domconfigtest.c |  3 +--
>  tests/virportallocatortest.c   |  4 ++--
>  8 files changed, 15 insertions(+), 32 deletions(-)


It's not that easy. libxlxml2domconfigtest doesn't link with the mock
therefore if say port 5900 is opened at the time the test runs I get
different results.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux