diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c index 0a5f06834c..6a9ed992f3 100644 --- a/tests/qemuhotplugtest.c +++ b/tests/qemuhotplugtest.c @@ -240,7 +240,7 @@ testQemuHotplug(const void *data) virTestLoadFile(device_filename, &device_xml) < 0) goto cleanup; - if (test->action != UPDATE && + if (test->action == ATTACH && virTestLoadFile(result_filename, &result_xml) < 0) goto cleanup;