]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Extend NUMA mocking
authorAndrea Bolognani <abologna@redhat.com>
Wed, 2 May 2018 15:35:21 +0000 (17:35 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 3 May 2018 16:23:30 +0000 (18:23 +0200)
commit77ac204d14a98f39cc440296162b83da2c2feb3a
treed86d13bb0f10548b5ff977d127436d74337ee3ce
parentb5d4652e07d4491152496664d23ee6d1d0fb0b6d
tests: Extend NUMA mocking

While the current amount of mocking works just fine on most of
our target platforms, it somehow causes issues when using Clang
on FreeBSD.

Work around the issue by mocking a couple more functions. It's
not pretty, but it makes qemuxml2argvtest pass on FreeBSD at
long last.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemuxml2argvmock.c