From 7d9dabda6a1068d7a732056c97f069858a017559222f1db34df9a588e79f66c0 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Sat, 29 Oct 2016 15:30:42 +0000 Subject: [PATCH] - ALso fix the test in the patch OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=62 --- cloud-init-no-dmidecode-on-ppc64.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cloud-init-no-dmidecode-on-ppc64.patch b/cloud-init-no-dmidecode-on-ppc64.patch index 5d97697..f1d8893 100644 --- a/cloud-init-no-dmidecode-on-ppc64.patch +++ b/cloud-init-no-dmidecode-on-ppc64.patch @@ -9,3 +9,14 @@ LOG.debug("dmidata is not supported on %s", uname_arch) return None +--- tests/unittests/test_util.py.orig ++++ tests/unittests/test_util.py +@@ -384,7 +384,7 @@ class TestReadDMIData(helpers.Filesystem + 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