From 4bceb38a6102ca95bde79205efaa643a0824d3a2 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 31 Oct 2018 15:35:34 +0000 Subject: [PATCH 09/12] tests: Fix tests when run on AWS. When running on AWS two of the tests failed. This was because the tests did _not_ include a working dmidecode binary, hence the platform dmidecode binary was being run instead, and that was detecting as AWS owing to the previous commit. Fix this by supplying a working dmidecode binary for those tests. --- tests/ldoms/sbin/dmidecode | 3 +++ tests/ppc64-baremetal/sbin/dmidecode | 0 2 files changed, 3 insertions(+) create mode 100755 tests/ldoms/sbin/dmidecode mode change 100644 => 100755 tests/ppc64-baremetal/sbin/dmidecode diff --git a/tests/ldoms/sbin/dmidecode b/tests/ldoms/sbin/dmidecode new file mode 100755 index 0000000..3efbee3 --- /dev/null +++ b/tests/ldoms/sbin/dmidecode @@ -0,0 +1,3 @@ +#!/bin/sh - +# dmidecode fails on this platform. +exit 1 diff --git a/tests/ppc64-baremetal/sbin/dmidecode b/tests/ppc64-baremetal/sbin/dmidecode old mode 100644 new mode 100755 -- 2.19.0.rc0