aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/device-introspect-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/device-introspect-test.c')
-rw-r--r--tests/qtest/device-introspect-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/device-introspect-test.c b/tests/qtest/device-introspect-test.c
index 04f22903b0..f2c1576cae 100644
--- a/tests/qtest/device-introspect-test.c
+++ b/tests/qtest/device-introspect-test.c
@@ -288,7 +288,7 @@ static void add_machine_test_case(const char *mname)
char *path, *args;
/* Ignore blacklisted machines */
- if (g_str_equal("xenfv", mname) || g_str_equal("xenpv", mname)) {
+ if (!memcmp("xenfv", mname, 5) || g_str_equal("xenpv", mname)) {
return;
}