summaryrefslogtreecommitdiff
path: root/tests/unittests/test_util.py
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2016-10-29 09:29:53 -0400
committerScott Moser <smoser@brickies.net>2016-11-01 08:48:17 -0400
commit3416e2ee7f65defdb15aab861a85767d13e8c34c (patch)
treea2966d6e7ae6bad53482c7c9fa241884c708ea5a /tests/unittests/test_util.py
parent4f8ceffb2e3a9feefcb718bda7a7f0f21ef7ab7c (diff)
downloadvyos-cloud-init-3416e2ee7f65defdb15aab861a85767d13e8c34c.tar.gz
vyos-cloud-init-3416e2ee7f65defdb15aab861a85767d13e8c34c.zip
dmidecode: Allow dmidecode to be used on aarch64
aarch64 systems have functional dmidecode, so allow that to be used. - aarch64 has support for dmidecode as well
Diffstat (limited to 'tests/unittests/test_util.py')
-rw-r--r--tests/unittests/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py
index 881509aa..f6a8ab75 100644
--- a/tests/unittests/test_util.py
+++ b/tests/unittests/test_util.py
@@ -386,7 +386,7 @@ class TestReadDMIData(helpers.FilesystemMockingTestCase):
dmi_name = 'use-dmidecode'
self._configure_dmidecode_return(dmi_name, dmi_val)
- expected = {'armel': None, 'aarch64': None, 'x86_64': dmi_val}
+ expected = {'armel': None, 'aarch64': dmi_val, 'x86_64': dmi_val}
found = {}
# we do not run the 'dmi-decode' binary on some arches
# verify that anything requested that is not in the sysfs dir