mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Drop dirname argument from testQemuGetLatestCapsForArch()
As evidenced by all existing callers, the only directory it makes sense to use is TEST_QEMU_CAPS_PATH, so let's just bake that into the function. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -533,8 +533,7 @@ testQEMUSchemaGetLatest(void)
|
||||
virJSONValuePtr reply = NULL;
|
||||
virJSONValuePtr schema = NULL;
|
||||
|
||||
if (!(capsLatestFile = testQemuGetLatestCapsForArch(abs_srcdir "/qemucapabilitiesdata",
|
||||
"x86_64", "replies"))) {
|
||||
if (!(capsLatestFile = testQemuGetLatestCapsForArch("x86_64", "replies"))) {
|
||||
VIR_TEST_VERBOSE("failed to find latest caps replies\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user