]> xenbits.xensource.com Git - libvirt.git/commit
tests: libxl: Mock xs_open and xs_close
authorJim Fehlig <jfehlig@suse.com>
Mon, 17 May 2021 17:52:25 +0000 (11:52 -0600)
committerJim Fehlig <jfehlig@suse.com>
Tue, 18 May 2021 15:09:37 +0000 (09:09 -0600)
commitee890f25c703a07e69f6e19f08b2a8d06ed2fc5f
treea6788c741be06456fe875579fd30e1b39ee5615b
parentcd76a97aa613d83bc1d5badbe7f9b8afc9fe215d
tests: libxl: Mock xs_open and xs_close

The Xen-related unit tests are failing against the recently released
Xen 4.15. Xen commit 90c9f9f4dd changed the implementation of
libxl_ctx_alloc to use xs_open instead of xs_daemon_open. libvirt has
already mocked xs_daemon-{open,close} and others to allow using libxl
in confined build environments. This patch adds xs_{open,close} to the
list of functions mocked in libxlmock.c

https://github.com/xen-project/xen/commit/90c9f9f4ddd55e11be0506bff10c6237507c6e0d

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/libxlmock.c