[libvirt] [PATCH v2] Make tests independant of system page size

Eric Blake eblake at redhat.com
Mon Feb 2 19:32:52 UTC 2015


On 02/02/2015 09:19 AM, Daniel P. Berrange wrote:
> Some code paths have special logic depending on the page size
> reported by sysconf, which in turn affects the test results.
> We must mock this so tests always have a consistent page size.
> ---
>  cfg.mk                   |  8 ++++++++
>  src/libvirt_private.syms |  2 ++
>  src/openvz/openvz_util.c |  5 +----
>  src/qemu/qemu_command.c  |  6 +++---
>  src/qemu/qemu_driver.c   |  6 +-----
>  src/util/virfile.c       |  2 +-
>  src/util/virnuma.c       |  6 +++---
>  src/util/virutil.c       | 13 +++++++++++++
>  src/util/virutil.h       |  3 +++
>  src/xen/xen_hypervisor.c |  4 ++--
>  tests/qemuxml2argvmock.c |  8 ++++++++
>  tests/qemuxml2argvtest.c |  1 +
>  12 files changed, 46 insertions(+), 18 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150202/47794b0b/attachment-0001.sig>


More information about the libvir-list mailing list