[PATCH kvm-unit-tests v1] s390x: call setup_vm() in selftest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes the two failing tests.

Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
---

While Paolo moved the call to setup_vm(), he seems to have forgotten
about the selftest which tests the VM.

 s390x/selftest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/s390x/selftest.c b/s390x/selftest.c
index 18a40e1..f4acdc4 100644
--- a/s390x/selftest.c
+++ b/s390x/selftest.c
@@ -75,6 +75,8 @@ int main(int argc, char**argv)
 	report("argv[1] == test", !strcmp(argv[1], "test"));
 	report("argv[2] == 123", !strcmp(argv[2], "123"));
 
+	setup_vm();
+
 	test_fp();
 	test_pgm_int();
 	test_malloc();
-- 
2.14.3




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux