aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/test-hmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/test-hmp.c')
-rw-r--r--tests/qtest/test-hmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/test-hmp.c b/tests/qtest/test-hmp.c
index 5029c4d2c9..f8aa5f92c5 100644
--- a/tests/qtest/test-hmp.c
+++ b/tests/qtest/test-hmp.c
@@ -143,7 +143,7 @@ static void add_machine_test_case(const char *mname)
char *path;
/* Ignore blacklisted machines that have known problems */
- if (!strcmp("xenfv", mname) || !strcmp("xenpv", mname)) {
+ if (!memcmp("xenfv", mname, 5) || g_str_equal("xenpv", mname)) {
return;
}