]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: introduce qemucaps2xmlmock
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Mar 2015 14:35:46 +0000 (15:35 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 27 Mar 2015 15:55:33 +0000 (16:55 +0100)
commiteb05cb0d5c4ab013622a3695bcd60b72eeaa7dfe
treef52a3803194a97ec06697703d70a6843c13275db
parenta894d61ba11473bd0f7beb77c2a1a7d4f5c31933
tests: introduce qemucaps2xmlmock

We need to mock virFileExists to return true for "/dev/kvm" because the
test should not depend on host system.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/Makefile.am
tests/qemucaps2xmlmock.c [new file with mode: 0644]
tests/qemucaps2xmltest.c