From: Lukáš Doktor <ldok...@redhat.com>

The "arch" is quite important info regarding the current VM, let's store
it so tests can query for it.

Signed-off-by: Lukáš Doktor <ldok...@redhat.com>
Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>
---
 tests/avocado/avocado_qemu/test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/avocado/avocado_qemu/test.py 
b/tests/avocado/avocado_qemu/test.py
index eeb759ec65..6bf7825e55 100644
--- a/tests/avocado/avocado_qemu/test.py
+++ b/tests/avocado/avocado_qemu/test.py
@@ -258,6 +258,7 @@ class _VM(qemu.QEMUMachine):
                  qemu_dst_bin=None):
         if arch is None:
             arch = os.uname()[4]
+        self.arch = arch
         self.ports = _PortTracker()
         self.name = "qemu-%s" % str(uuid.uuid4())[:8]
         if qemu_bin is None:
-- 
2.14.3


Reply via email to