aboutsummaryrefslogtreecommitdiff
path: root/tests/drive_del-test.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2016-07-28 17:18:09 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-07-29 14:14:15 +1000
commit059ce0f00af0124740bcb9991d160f93c92ae174 (patch)
treee3c49c89cf2c9f35fc6dbc411d1c774c2f207f14 /tests/drive_del-test.c
parent62be8b044adf47327ebefdefb25f28a40316ebd0 (diff)
tests: add drive_del-test to ppc/ppc64
Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/drive_del-test.c')
-rw-r--r--tests/drive_del-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c
index 74e43c248b..121b9c917e 100644
--- a/tests/drive_del-test.c
+++ b/tests/drive_del-test.c
@@ -115,7 +115,8 @@ int main(int argc, char **argv)
qtest_add_func("/drive_del/without-dev", test_drive_without_dev);
/* TODO I guess any arch with PCI would do */
- if (!strcmp(arch, "i386") || !strcmp(arch, "x86_64")) {
+ if (!strcmp(arch, "i386") || !strcmp(arch, "x86_64") ||
+ !strcmp(arch, "ppc") || !strcmp(arch, "ppc64")) {
qtest_add_func("/drive_del/after_failed_device_add",
test_after_failed_device_add);
qtest_add_func("/blockdev/drive_del_device_del",